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