37 #include "DistributedQuadraticMesh.hpp" 39 template<
unsigned DIM>
46 template<
unsigned DIM>
51 template<
unsigned DIM>
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.");
unsigned GetNumBoundaryElements() const
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)