36 #ifndef NEKTAR_SPATIALDOMAINS_MGXMLCOM_H
37 #define NEKTAR_SPATIALDOMAINS_MGXMLCOM_H
43 namespace SpatialDomains
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
void WritePrisms(TiXmlElement *elmtTag, PrismGeomMap &pris)
void WriteQuads(TiXmlElement *faceTag, QuadGeomMap &quads)
void WriteEdges(TiXmlElement *geomTag, SegGeomMap &edges)
void WriteHexs(TiXmlElement *elmtTag, HexGeomMap &hexs)
static std::string className
virtual ~MeshGraphXmlCompressed()
void WriteCurves(TiXmlElement *geomTag, CurveMap &edges, CurveMap &faces)
void WritePyrs(TiXmlElement *elmtTag, PyrGeomMap &pyrs)
void WriteTris(TiXmlElement *faceTag, TriGeomMap &tris)
void WriteTets(TiXmlElement *elmtTag, TetGeomMap &tets)
void WriteVertices(TiXmlElement *geomTag, PointGeomMap &verts)
static MeshGraphSharedPtr create()
std::map< int, TriGeomSharedPtr > TriGeomMap
std::map< int, PyrGeomSharedPtr > PyrGeomMap
std::map< int, QuadGeomSharedPtr > QuadGeomMap
std::map< int, SegGeomSharedPtr > SegGeomMap
std::unordered_map< int, CurveSharedPtr > CurveMap
std::map< int, TetGeomSharedPtr > TetGeomMap
std::shared_ptr< MeshGraph > MeshGraphSharedPtr
std::map< int, PrismGeomSharedPtr > PrismGeomMap
std::map< int, HexGeomSharedPtr > HexGeomMap
std::map< int, PointGeomSharedPtr > PointGeomMap
The above copyright notice and this permission notice shall be included.