37#include "DistributedQuadraticMesh.hpp"
55 assert(p_mesh_reader !=
nullptr);
57 unsigned order_of_elements = 1;
65 if (order_of_elements == 1)
67 EXCEPTION(
"Cannot convert a (linear) tetrahedral mesh directly to a DistributedQuadraticMesh. Please convert to QuadraticMesh and save in that format first.");
69 this->mMeshIsLinear =
false;
71 assert(this->GetNumBoundaryElements() > 0u);
#define EXCEPTION(message)
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
virtual ~DistributedQuadraticMesh()
DistributedQuadraticMesh(DistributedTetrahedralMeshPartitionType::type partitioningMethod=DistributedTetrahedralMeshPartitionType::PARMETIS_LIBRARY)
void ConstructFromMeshReader(AbstractMeshReader< DIM, DIM > &rMeshReader)
virtual void ConstructFromMeshReader(AbstractMeshReader< ELEMENT_DIM, SPACE_DIM > &rMeshReader)
static void CheckBoundaryElements(AbstractTetrahedralMesh< DIM, DIM > *pMesh)
static void AddInternalNodesToBoundaryElements(AbstractTetrahedralMesh< DIM, DIM > *pMesh, AbstractMeshReader< DIM, DIM > *pMeshReader)
static void AddInternalNodesToElements(AbstractTetrahedralMesh< DIM, DIM > *pMesh, AbstractMeshReader< DIM, DIM > *pMeshReader)
unsigned GetOrderOfElements()