libMesh
Public Member Functions | Private Attributes | List of all members
libMesh::MeshSerializer Class Reference

Temporarily serialize a DistributedMesh for output; a distributed mesh is allgathered by the MeshSerializer constructor if need_serial is true, then remote elements are deleted again by the destructor. More...

#include <mesh_serializer.h>

Public Member Functions

 MeshSerializer (MeshBase &mesh, bool need_serial=true, bool serial_only_needed_on_proc_0=false)
 
 ~MeshSerializer ()
 

Private Attributes

MeshBase_mesh
 
bool reparallelize
 

Detailed Description

Temporarily serialize a DistributedMesh for output; a distributed mesh is allgathered by the MeshSerializer constructor if need_serial is true, then remote elements are deleted again by the destructor.

Author
Roy Stogner
Date
2011 Temporarily serializes a DistributedMesh for output.

Definition at line 42 of file mesh_serializer.h.

Constructor & Destructor Documentation

◆ MeshSerializer()

libMesh::MeshSerializer::MeshSerializer ( MeshBase mesh,
bool  need_serial = true,
bool  serial_only_needed_on_proc_0 = false 
)

◆ ~MeshSerializer()

libMesh::MeshSerializer::~MeshSerializer ( )

Member Data Documentation

◆ _mesh

MeshBase& libMesh::MeshSerializer::_mesh
private

Definition at line 50 of file mesh_serializer.h.

◆ reparallelize

bool libMesh::MeshSerializer::reparallelize
private

Definition at line 51 of file mesh_serializer.h.


The documentation for this class was generated from the following file: