20 #include "libmesh/mesh_serializer.h" 21 #include "libmesh/mesh_base.h" 22 #include "libmesh/parallel_only.h" 30 resume_allow_remote_element_removal(false)
32 libmesh_parallel_only(
mesh.comm());
33 if (need_serial && !
_mesh.
is_serial() && !serial_only_needed_on_proc_0) {
37 else if (need_serial && !
_mesh.
is_serial() && serial_only_needed_on_proc_0) {
virtual void allgather()
Gathers all elements and nodes of the mesh onto every processor.
virtual void gather_to_zero()
Gathers all elements and nodes of the mesh onto processor zero.
The libMesh namespace provides an interface to certain functionality in the library.
This is the MeshBase class.
void allow_remote_element_removal(bool allow)
If false is passed in then this mesh will no longer have remote elements deleted when being prepared ...
virtual bool is_serial() const
bool resume_allow_remote_element_removal
MeshSerializer(MeshBase &mesh, bool need_serial=true, bool serial_only_needed_on_proc_0=false)
virtual void delete_remote_elements()
When supported, deletes all nonlocal elements of the mesh except for "ghosts" which touch a local ele...