Chaste
Release::2017.1
|
#include <DistributedQuadraticMesh.hpp>
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | boost::serialization::access |
Additional Inherited Members | |
Public Types inherited from DistributedTetrahedralMesh< DIM, DIM > | |
typedef std::vector< Node< SPACE_DIM > * >::const_iterator | HaloNodeIterator |
Public Types inherited from AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > | |
typedef std::vector< BoundaryElement< ELEMENT_DIM-1, SPACE_DIM > * >::const_iterator | BoundaryElementIterator |
Public Types inherited from AbstractMesh< ELEMENT_DIM, SPACE_DIM > | |
typedef std::vector< Node< SPACE_DIM > * >::const_iterator | BoundaryNodeIterator |
Protected Member Functions inherited from DistributedTetrahedralMesh< DIM, DIM > | |
unsigned | SolveNodeMapping (unsigned index) const |
unsigned | SolveElementMapping (unsigned index) const |
unsigned | SolveBoundaryElementMapping (unsigned index) const |
Protected Member Functions inherited from AbstractMesh< ELEMENT_DIM, SPACE_DIM > | |
ChasteCuboid< SPACE_DIM > | CalculateBoundingBox (const std::vector< Node< SPACE_DIM > * > &rNodes) const |
Protected Attributes inherited from AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > | |
bool | mMeshIsLinear |
std::vector< Element< ELEMENT_DIM, SPACE_DIM > * > | mElements |
std::vector< BoundaryElement< ELEMENT_DIM-1, SPACE_DIM > * > | mBoundaryElements |
Protected Attributes inherited from AbstractMesh< ELEMENT_DIM, SPACE_DIM > | |
std::vector< Node< SPACE_DIM > * > | mNodes |
std::vector< Node< SPACE_DIM > * > | mBoundaryNodes |
DistributedVectorFactory * | mpDistributedVectorFactory |
std::vector< unsigned > | mNodePermutation |
std::string | mMeshFileBaseName |
bool | mMeshChangesDuringSimulation |
Parallel implementation of a quadratic mesh Nodes are distributed such that each process has
Definition at line 64 of file DistributedQuadraticMesh.hpp.
DistributedQuadraticMesh< DIM >::DistributedQuadraticMesh | ( | DistributedTetrahedralMeshPartitionType::type | partitioningMethod = DistributedTetrahedralMeshPartitionType::PARMETIS_LIBRARY | ) |
Constructor.
partitioningMethod | defaults to PARMETIS_LIBRARY, Nb: This is should have the same default behaviour as DistributedTetrahedralMesh |
Definition at line 40 of file DistributedQuadraticMesh.cpp.
Referenced by DistributedQuadraticMesh< DIM >::serialize().
|
virtual |
Destructor.
Definition at line 47 of file DistributedQuadraticMesh.cpp.
Referenced by DistributedQuadraticMesh< DIM >::serialize().
void DistributedQuadraticMesh< DIM >::ConstructFromMeshReader | ( | AbstractMeshReader< DIM, DIM > & | rMeshReader | ) |
Construct the mesh using a MeshReader.
rMeshReader | the mesh reader |
Definition at line 52 of file DistributedQuadraticMesh.cpp.
References QuadraticMeshHelper< DIM >::AddInternalNodesToBoundaryElements(), QuadraticMeshHelper< DIM >::AddInternalNodesToElements(), QuadraticMeshHelper< DIM >::CheckBoundaryElements(), DistributedTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), EXCEPTION, EXPORT_TEMPLATE_CLASS_SAME_DIMS, DistributedTetrahedralMesh< DIM, DIM >::GetNumBoundaryElements(), TrianglesMeshReader< ELEMENT_DIM, SPACE_DIM >::GetOrderOfElements(), and AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::mMeshIsLinear.
Referenced by DistributedQuadraticMesh< DIM >::serialize().
|
inlineprivate |
Serialize the mesh.
archive | the archive |
version | the current version of this class |
Definition at line 75 of file DistributedQuadraticMesh.hpp.
References DistributedVectorFactory::CheckNumberOfProcessesOnLoad(), DistributedQuadraticMesh< DIM >::ConstructFromMeshReader(), DistributedQuadraticMesh< DIM >::DistributedQuadraticMesh(), EXPORT_TEMPLATE_CLASS_SAME_DIMS, PetscTools::GetNumProcs(), DistributedTetrahedralMesh< DIM, DIM >::GetPartitionType(), NEVER_REACHED, and DistributedQuadraticMesh< DIM >::~DistributedQuadraticMesh().
|
friend |
Needed for serialization.
Definition at line 67 of file DistributedQuadraticMesh.hpp.