Go to the documentation of this file.
   20 #include "libmesh/mesh_serializer.h" 
   21 #include "libmesh/mesh_base.h" 
   22 #include "libmesh/parallel_only.h" 
   31   libmesh_parallel_only(
mesh.comm());
 
   32   if (need_serial && !
_mesh.
is_serial() && !serial_only_needed_on_proc_0) {
 
   36   else if (need_serial && !
_mesh.
is_serial() && serial_only_needed_on_proc_0) {
 
  
virtual bool is_serial() const
 
The libMesh namespace provides an interface to certain functionality in the library.
 
This is the MeshBase class.
 
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...
 
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.