Nektar++
|
#include <MeshGraphXml.h>
Static Public Member Functions | |
static MeshGraphSharedPtr | create () |
![]() | |
static MeshGraphSharedPtr | Read (const LibUtilities::SessionReaderSharedPtr pSession, LibUtilities::DomainRangeShPtr rng=LibUtilities::NullDomainRangeShPtr, bool fillGraph=true, SpatialDomains::MeshGraphSharedPtr partitionedGraph=nullptr) |
static LibUtilities::BasisKeyVector | DefineBasisKeyFromExpansionType (GeometrySharedPtr in, ExpansionType type, const int order) |
Static Public Attributes | |
static std::string | className |
Protected Member Functions | |
virtual void | v_WriteGeometry (std::string &outfilename, bool defaultExp=false, const LibUtilities::FieldMetaDataMap &metadata=LibUtilities::NullFieldMetaDataMap) override |
Write out an XML file containing the GEOMETRY block representing this MeshGraph instance inside a NEKTAR tag. More... | |
virtual void | v_ReadGeometry (LibUtilities::DomainRangeShPtr rng, bool fillGraph) override |
virtual void | v_PartitionMesh (LibUtilities::SessionReaderSharedPtr session) override |
virtual void | v_ReadVertices () |
virtual void | v_ReadCurves () |
void | ReadDomain () |
virtual void | v_ReadEdges () |
virtual void | v_ReadFaces () |
void | ReadElements () |
void | ReadComposites () |
virtual void | v_ReadElements1D () |
virtual void | v_ReadElements2D () |
virtual void | v_ReadElements3D () |
void | ResolveGeomRef (const std::string &prevToken, const std::string &token, CompositeSharedPtr &composite) |
void | ResolveGeomRef1D (const std::string &prevToken, const std::string &token, CompositeSharedPtr &composite) |
void | ResolveGeomRef2D (const std::string &prevToken, const std::string &token, CompositeSharedPtr &composite) |
void | ResolveGeomRef3D (const std::string &prevToken, const std::string &token, CompositeSharedPtr &composite) |
virtual void | v_WriteVertices (TiXmlElement *geomTag, PointGeomMap &verts) |
virtual void | v_WriteEdges (TiXmlElement *geomTag, SegGeomMap &edges) |
virtual void | v_WriteTris (TiXmlElement *faceTag, TriGeomMap &tris) |
virtual void | v_WriteQuads (TiXmlElement *faceTag, QuadGeomMap &quads) |
virtual void | v_WriteHexs (TiXmlElement *elmtTag, HexGeomMap &hexs) |
virtual void | v_WritePrisms (TiXmlElement *elmtTag, PrismGeomMap &pris) |
virtual void | v_WritePyrs (TiXmlElement *elmtTag, PyrGeomMap &pyrs) |
virtual void | v_WriteTets (TiXmlElement *elmtTag, TetGeomMap &tets) |
virtual void | v_WriteCurves (TiXmlElement *geomTag, CurveMap &edges, CurveMap &faces) |
void | WriteComposites (TiXmlElement *geomTag, CompositeMap &comps, std::map< int, std::string > &compLabels) |
void | WriteDomain (TiXmlElement *geomTag, std::map< int, CompositeMap > &domain) |
void | WriteDefaultExpansion (TiXmlElement *root) |
CompositeOrdering | CreateCompositeOrdering () |
![]() | |
virtual void | v_WriteGeometry (std::string &outfilename, bool defaultExp=false, const LibUtilities::FieldMetaDataMap &metadata=LibUtilities::NullFieldMetaDataMap)=0 |
virtual void | v_ReadGeometry (LibUtilities::DomainRangeShPtr rng, bool fillGraph)=0 |
virtual void | v_PartitionMesh (LibUtilities::SessionReaderSharedPtr session)=0 |
void | PopulateFaceToElMap (Geometry3DSharedPtr element, int kNfaces) |
Given a 3D geometry object #element, populate the face to element map m_faceToElMap which maps faces to their corresponding element(s). More... | |
ExpansionInfoMapShPtr | SetUpExpansionInfoMap () |
std::string | GetCompositeString (CompositeSharedPtr comp) |
Returns a string representation of a composite. More... | |
Definition at line 47 of file MeshGraphXml.h.
|
inline |
Definition at line 50 of file MeshGraphXml.h.
|
inlinevirtual |
Definition at line 54 of file MeshGraphXml.h.
|
inlinestatic |
Definition at line 62 of file MeshGraphXml.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
protected |
Definition at line 3262 of file MeshGraphXml.cpp.
References Nektar::UnitTests::d(), Nektar::SpatialDomains::MeshGraph::m_domain, and Nektar::SpatialDomains::MeshGraph::m_meshComposites.
Referenced by v_PartitionMesh().
|
protected |
Look for elements in ELEMENT block.
All elements are of the form: "<? ID="#"> ... </?>", with ? being the element type.
Parse out the element components corresponding to type of element.
Keep looking for additional composite definitions.
Definition at line 1858 of file MeshGraphXml.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::ErrorUtil::efatal, Nektar::SpatialDomains::MeshGraph::m_compositesLabels, Nektar::SpatialDomains::MeshGraph::m_meshComposites, Nektar::SpatialDomains::MeshGraph::m_xmlGeom, CellMLToNektar.pycml::name, NEKERROR, and ResolveGeomRef().
Referenced by v_ReadGeometry().
|
protected |
Look for data in DOMAIN block.
Elements are of the form: "<D ID = "N"> ... </D>". Read the ID field first.
Keep looking
Definition at line 949 of file MeshGraphXml.cpp.
References ASSERTL0, Nektar::SpatialDomains::MeshGraph::GetCompositeList(), Nektar::SpatialDomains::MeshGraph::m_domain, and Nektar::SpatialDomains::MeshGraph::m_xmlGeom.
Referenced by v_ReadGeometry().
|
protected |
Definition at line 1271 of file MeshGraphXml.cpp.
References Nektar::SpatialDomains::MeshGraph::m_meshDimension, v_ReadElements1D(), v_ReadElements2D(), and v_ReadElements3D().
Referenced by v_ReadGeometry().
|
protected |
Definition at line 1959 of file MeshGraphXml.cpp.
References Nektar::SpatialDomains::MeshGraph::m_meshDimension, ResolveGeomRef1D(), ResolveGeomRef2D(), and ResolveGeomRef3D().
Referenced by ReadComposites().
|
protected |
Definition at line 1977 of file MeshGraphXml.cpp.
References ASSERTL0, Nektar::ErrorUtil::efatal, Nektar::ErrorUtil::ewarning, Nektar::ParseUtils::GenerateSeqVector(), Nektar::SpatialDomains::MeshGraph::m_segGeoms, Nektar::SpatialDomains::MeshGraph::m_vertSet, and NEKERROR.
Referenced by ResolveGeomRef().
|
protected |
Definition at line 2072 of file MeshGraphXml.cpp.
References ASSERTL0, Nektar::SpatialDomains::MeshGraph::CheckRange(), Nektar::ErrorUtil::efatal, Nektar::ErrorUtil::ewarning, Nektar::ParseUtils::GenerateSeqVector(), Nektar::SpatialDomains::MeshGraph::m_quadGeoms, Nektar::SpatialDomains::MeshGraph::m_segGeoms, Nektar::SpatialDomains::MeshGraph::m_triGeoms, Nektar::SpatialDomains::MeshGraph::m_vertSet, and NEKERROR.
Referenced by ResolveGeomRef().
|
protected |
Definition at line 2214 of file MeshGraphXml.cpp.
References ASSERTL0, Nektar::SpatialDomains::MeshGraph::CheckRange(), Nektar::ErrorUtil::efatal, Nektar::ErrorUtil::ewarning, Nektar::ParseUtils::GenerateSeqVector(), Nektar::SpatialDomains::MeshGraph::GetGeometry2D(), Nektar::SpatialDomains::MeshGraph::m_hexGeoms, Nektar::SpatialDomains::MeshGraph::m_prismGeoms, Nektar::SpatialDomains::MeshGraph::m_pyrGeoms, Nektar::SpatialDomains::MeshGraph::m_quadGeoms, Nektar::SpatialDomains::MeshGraph::m_segGeoms, Nektar::SpatialDomains::MeshGraph::m_tetGeoms, Nektar::SpatialDomains::MeshGraph::m_triGeoms, Nektar::SpatialDomains::MeshGraph::m_vertSet, and NEKERROR.
Referenced by ResolveGeomRef().
|
overrideprotectedvirtual |
Implements Nektar::SpatialDomains::MeshGraph.
Definition at line 61 of file MeshGraphXml.cpp.
References ASSERTL0, Nektar::SpatialDomains::MeshGraph::CreateCompositeDescriptor(), CreateCompositeOrdering(), Nektar::LibUtilities::NekFactory< tKey, tBase, tParam >::CreateInstance(), Nektar::SpatialDomains::MeshGraph::CreateMeshEntities(), CellMLToNektar.pycml::format, Nektar::SpatialDomains::GetMeshPartitionFactory(), Nektar::SpatialDomains::MeshGraph::m_bndRegOrder, Nektar::SpatialDomains::MeshGraph::m_compOrder, Nektar::SpatialDomains::MeshGraph::m_meshDimension, Nektar::SpatialDomains::MeshGraph::m_session, Nektar::LibUtilities::NullDomainRangeShPtr, Nektar::LibUtilities::PortablePath(), Nektar::SpatialDomains::MeshGraph::ReadGeometry(), and WriteXMLGeometry().
|
protectedvirtual |
Look for elements in CURVE block.
All curves are of the form: "<? ID="#" TYPE="GLL OR other points type" NUMPOINTS="#"> ... </?>", with ? being an element type (either E or F).
These should be ordered.
Read id attribute.
Read edge id attribute.
Read text edgelement description.
Parse out the element components corresponding to type of element.
Read id attribute.
Read face id attribute.
Read text face element description.
Parse out the element components corresponding to type of element.
Reimplemented in Nektar::SpatialDomains::MeshGraphXmlCompressed.
Definition at line 629 of file MeshGraphXml.cpp.
References ASSERTL0, Nektar::LibUtilities::Interpreter::DefineFunction(), Nektar::ErrorUtil::efatal, Nektar::LibUtilities::Interpreter::Evaluate(), Nektar::StdRegions::find(), Nektar::LibUtilities::kPointsTypeStr, Nektar::SpatialDomains::MeshGraph::m_curvedEdges, Nektar::SpatialDomains::MeshGraph::m_curvedFaces, Nektar::SpatialDomains::MeshGraph::m_meshDimension, Nektar::SpatialDomains::MeshGraph::m_xmlGeom, NEKERROR, and Nektar::LibUtilities::SIZE_PointsType.
Referenced by v_ReadGeometry().
|
protectedvirtual |
Look for elements in ELEMENT block.
All elements are of the form: "<E ID="#"> ... </E>", with ? being the element type. Read the ID field first.
Since all edge data is one big text block, we need to accumulate all TINYXML_TEXT data and then parse it. This approach effectively skips all comments or other node types since we only care about the edge list. We cannot handle missing edge numbers as we could with missing element numbers due to the text block format.
Now parse out the edges, three fields at a time.
Reimplemented in Nektar::SpatialDomains::MeshGraphXmlCompressed.
Definition at line 1043 of file MeshGraphXml.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::ErrorUtil::efatal, Nektar::SpatialDomains::MeshGraph::GetVertex(), Nektar::SpatialDomains::MeshGraph::m_curvedEdges, Nektar::SpatialDomains::MeshGraph::m_segGeoms, Nektar::SpatialDomains::MeshGraph::m_spaceDimension, Nektar::SpatialDomains::MeshGraph::m_xmlGeom, and NEKERROR.
Referenced by v_ReadGeometry().
|
protectedvirtual |
Look for elements in ELEMENT block.
All elements are of the form: "<S ID = n> ... </S>", with ? being the element type.
Parse out the element components corresponding to type of element. Read two vertex numbers
Keep looking for additional segments
Reimplemented in Nektar::SpatialDomains::MeshGraphXmlCompressed.
Definition at line 1287 of file MeshGraphXml.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::ErrorUtil::efatal, Nektar::SpatialDomains::MeshGraph::GetVertex(), Nektar::SpatialDomains::MeshGraph::m_curvedEdges, Nektar::SpatialDomains::MeshGraph::m_segGeoms, Nektar::SpatialDomains::MeshGraph::m_spaceDimension, Nektar::SpatialDomains::MeshGraph::m_xmlGeom, and NEKERROR.
Referenced by ReadElements().
|
protectedvirtual |
Look for elements in ELEMENT block.
All elements are of the form: "<? ID="#"> ... </?>", with ? being the element type.
Read id attribute.
Read text element description.
Parse out the element components corresponding to type of element.
Create a TriGeom to hold the new definition.
Create a QuadGeom to hold the new definition.
Keep looking
Reimplemented in Nektar::SpatialDomains::MeshGraphXmlCompressed.
Definition at line 1365 of file MeshGraphXml.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::ErrorUtil::efatal, Nektar::SpatialDomains::MeshGraph::GetSegGeom(), Nektar::SpatialDomains::QuadGeom::kNedges, Nektar::SpatialDomains::TriGeom::kNedges, Nektar::SpatialDomains::MeshGraph::m_curvedFaces, Nektar::SpatialDomains::MeshGraph::m_quadGeoms, Nektar::SpatialDomains::MeshGraph::m_triGeoms, Nektar::SpatialDomains::MeshGraph::m_xmlGeom, and NEKERROR.
Referenced by ReadElements().
|
protectedvirtual |
Look for elements in ELEMENT block.
All elements are of the form: "<? ID="#"> ... </?>", with ? being the element type.
Read id attribute.
Read text element description.
Parse out the element components corresponding to type of element.
Create arrays for the tri and quad faces.
Fill the arrays and make sure there aren't too many faces.
Make sure all of the face indicies could be read, and that there weren't too few.
Create arrays for the tri and quad faces.
Fill the arrays and make sure there aren't too many faces.
Make sure all of the face indicies could be read, and that there weren't too few.
Create arrays for the tri and quad faces.
Fill the arrays and make sure there aren't too many faces.
Make sure all of the face indicies could be read, and that there weren't too few.
Create arrays for the tri and quad faces.
Fill the arrays and make sure there aren't too many faces.
Make sure all of the face indicies could be read, and that there weren't too few.
Keep looking
Reimplemented in Nektar::SpatialDomains::MeshGraphXmlCompressed.
Definition at line 1511 of file MeshGraphXml.cpp.
References ASSERTL0, Nektar::ErrorUtil::efatal, Nektar::LibUtilities::eQuadrilateral, Nektar::LibUtilities::eTriangle, Nektar::SpatialDomains::MeshGraph::GetGeometry2D(), Nektar::SpatialDomains::HexGeom::kNfaces, Nektar::SpatialDomains::PrismGeom::kNfaces, Nektar::SpatialDomains::PyrGeom::kNfaces, Nektar::SpatialDomains::TetGeom::kNfaces, Nektar::SpatialDomains::HexGeom::kNqfaces, Nektar::SpatialDomains::PrismGeom::kNqfaces, Nektar::SpatialDomains::PyrGeom::kNqfaces, Nektar::SpatialDomains::TetGeom::kNqfaces, Nektar::SpatialDomains::HexGeom::kNtfaces, Nektar::SpatialDomains::PrismGeom::kNtfaces, Nektar::SpatialDomains::PyrGeom::kNtfaces, Nektar::SpatialDomains::TetGeom::kNtfaces, Nektar::SpatialDomains::MeshGraph::m_hexGeoms, Nektar::SpatialDomains::MeshGraph::m_prismGeoms, Nektar::SpatialDomains::MeshGraph::m_pyrGeoms, Nektar::SpatialDomains::MeshGraph::m_tetGeoms, Nektar::SpatialDomains::MeshGraph::m_xmlGeom, NEKERROR, and Nektar::SpatialDomains::MeshGraph::PopulateFaceToElMap().
Referenced by ReadElements().
|
protectedvirtual |
Look for elements in FACE block.
All faces are of the form: "<? ID="#"> ... </?>", with ? being an element type (either Q or T). They might be in compressed format and so then need upacking.
Read id attribute.
See if this face has curves.
Read text element description.
Parse out the element components corresponding to type of element.
Create a TriGeom to hold the new definition.
Create a QuadGeom to hold the new definition.
Reimplemented in Nektar::SpatialDomains::MeshGraphXmlCompressed.
Definition at line 1126 of file MeshGraphXml.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::ErrorUtil::efatal, Nektar::SpatialDomains::MeshGraph::GetSegGeom(), Nektar::SpatialDomains::QuadGeom::kNedges, Nektar::SpatialDomains::TriGeom::kNedges, Nektar::SpatialDomains::MeshGraph::m_curvedFaces, Nektar::SpatialDomains::MeshGraph::m_quadGeoms, Nektar::SpatialDomains::MeshGraph::m_triGeoms, Nektar::SpatialDomains::MeshGraph::m_xmlGeom, and NEKERROR.
Referenced by v_ReadGeometry().
|
overrideprotectedvirtual |
Error value returned by TinyXML.
Implements Nektar::SpatialDomains::MeshGraph.
Definition at line 381 of file MeshGraphXml.cpp.
References ASSERTL0, Nektar::SpatialDomains::MeshGraph::FillGraph(), Nektar::SpatialDomains::MeshGraph::m_compositesLabels, Nektar::SpatialDomains::MeshGraph::m_curvedEdges, Nektar::SpatialDomains::MeshGraph::m_curvedFaces, Nektar::SpatialDomains::MeshGraph::m_domain, Nektar::SpatialDomains::MeshGraph::m_domainRange, Nektar::SpatialDomains::MeshGraph::m_expansionMapShPtrMap, Nektar::SpatialDomains::MeshGraph::m_faceToElMap, Nektar::SpatialDomains::MeshGraph::m_hexGeoms, Nektar::SpatialDomains::MeshGraph::m_meshComposites, Nektar::SpatialDomains::MeshGraph::m_meshDimension, Nektar::SpatialDomains::MeshGraph::m_meshPartitioned, Nektar::SpatialDomains::MeshGraph::m_partition, Nektar::SpatialDomains::MeshGraph::m_prismGeoms, Nektar::SpatialDomains::MeshGraph::m_pyrGeoms, Nektar::SpatialDomains::MeshGraph::m_quadGeoms, Nektar::SpatialDomains::MeshGraph::m_segGeoms, Nektar::SpatialDomains::MeshGraph::m_session, Nektar::SpatialDomains::MeshGraph::m_spaceDimension, Nektar::SpatialDomains::MeshGraph::m_tetGeoms, Nektar::SpatialDomains::MeshGraph::m_triGeoms, Nektar::SpatialDomains::MeshGraph::m_vertSet, Nektar::SpatialDomains::MeshGraph::m_xmlGeom, ReadComposites(), ReadDomain(), ReadElements(), v_ReadCurves(), v_ReadEdges(), v_ReadFaces(), and v_ReadVertices().
|
protectedvirtual |
Reimplemented in Nektar::SpatialDomains::MeshGraphXmlCompressed.
Definition at line 468 of file MeshGraphXml.cpp.
References ASSERTL0, Nektar::LibUtilities::Interpreter::DefineFunction(), Nektar::LibUtilities::Interpreter::Evaluate(), Nektar::SpatialDomains::MeshGraph::m_spaceDimension, Nektar::SpatialDomains::MeshGraph::m_vertSet, and Nektar::SpatialDomains::MeshGraph::m_xmlGeom.
Referenced by v_ReadGeometry().
|
protectedvirtual |
Reimplemented in Nektar::SpatialDomains::MeshGraphXmlCompressed.
Definition at line 2607 of file MeshGraphXml.cpp.
References Nektar::LibUtilities::kPointsTypeStr, and CellMLToNektar.cellml_metadata::p.
Referenced by v_WriteGeometry(), and WriteXMLGeometry().
|
protectedvirtual |
Reimplemented in Nektar::SpatialDomains::MeshGraphXmlCompressed.
Definition at line 2484 of file MeshGraphXml.cpp.
References Nektar::SpatialDomains::MeshGraph::m_meshDimension.
Referenced by v_WriteGeometry(), and WriteXMLGeometry().
|
overrideprotectedvirtual |
Write out an XML file containing the GEOMETRY block representing this MeshGraph instance inside a NEKTAR tag.
Implements Nektar::SpatialDomains::MeshGraph.
Definition at line 2741 of file MeshGraphXml.cpp.
References Nektar::LibUtilities::FieldIO::AddInfoTag(), Nektar::SpatialDomains::MeshGraph::m_compositesLabels, Nektar::SpatialDomains::MeshGraph::m_curvedEdges, Nektar::SpatialDomains::MeshGraph::m_curvedFaces, Nektar::SpatialDomains::MeshGraph::m_domain, Nektar::SpatialDomains::MeshGraph::m_hexGeoms, Nektar::SpatialDomains::MeshGraph::m_meshComposites, Nektar::SpatialDomains::MeshGraph::m_meshDimension, Nektar::SpatialDomains::MeshGraph::m_prismGeoms, Nektar::SpatialDomains::MeshGraph::m_pyrGeoms, Nektar::SpatialDomains::MeshGraph::m_quadGeoms, Nektar::SpatialDomains::MeshGraph::m_segGeoms, Nektar::SpatialDomains::MeshGraph::m_session, Nektar::SpatialDomains::MeshGraph::m_spaceDimension, Nektar::SpatialDomains::MeshGraph::m_tetGeoms, Nektar::SpatialDomains::MeshGraph::m_triGeoms, Nektar::SpatialDomains::MeshGraph::m_vertSet, v_WriteCurves(), v_WriteEdges(), v_WriteHexs(), v_WritePrisms(), v_WritePyrs(), v_WriteQuads(), v_WriteTets(), v_WriteTris(), v_WriteVertices(), WriteComposites(), WriteDefaultExpansion(), and WriteDomain().
|
protectedvirtual |
Reimplemented in Nektar::SpatialDomains::MeshGraphXmlCompressed.
Definition at line 2537 of file MeshGraphXml.cpp.
Referenced by v_WriteGeometry(), and WriteXMLGeometry().
|
protectedvirtual |
Reimplemented in Nektar::SpatialDomains::MeshGraphXmlCompressed.
Definition at line 2555 of file MeshGraphXml.cpp.
References CellMLToNektar.cellml_metadata::p.
Referenced by v_WriteGeometry(), and WriteXMLGeometry().
|
protectedvirtual |
Reimplemented in Nektar::SpatialDomains::MeshGraphXmlCompressed.
Definition at line 2573 of file MeshGraphXml.cpp.
References CellMLToNektar.cellml_metadata::p.
Referenced by v_WriteGeometry(), and WriteXMLGeometry().
|
protectedvirtual |
Reimplemented in Nektar::SpatialDomains::MeshGraphXmlCompressed.
Definition at line 2520 of file MeshGraphXml.cpp.
References Nektar::UnitTests::q().
Referenced by v_WriteGeometry(), and WriteXMLGeometry().
|
protectedvirtual |
Reimplemented in Nektar::SpatialDomains::MeshGraphXmlCompressed.
Definition at line 2590 of file MeshGraphXml.cpp.
Referenced by v_WriteGeometry(), and WriteXMLGeometry().
|
protectedvirtual |
Reimplemented in Nektar::SpatialDomains::MeshGraphXmlCompressed.
Definition at line 2504 of file MeshGraphXml.cpp.
Referenced by v_WriteGeometry(), and WriteXMLGeometry().
|
protectedvirtual |
Reimplemented in Nektar::SpatialDomains::MeshGraphXmlCompressed.
Definition at line 2466 of file MeshGraphXml.cpp.
Referenced by v_WriteGeometry(), and WriteXMLGeometry().
|
protected |
Definition at line 2661 of file MeshGraphXml.cpp.
References Nektar::SpatialDomains::MeshGraph::GetCompositeString(), and Nektar::SpatialDomains::MeshGraph::m_compositesLabels.
Referenced by v_WriteGeometry(), and WriteXMLGeometry().
|
protected |
Definition at line 2715 of file MeshGraphXml.cpp.
References Nektar::SpatialDomains::MeshGraph::m_meshComposites, and Nektar::SpatialDomains::MeshGraph::m_meshDimension.
Referenced by v_WriteGeometry().
|
protected |
Definition at line 2686 of file MeshGraphXml.cpp.
References Nektar::ParseUtils::GenerateSeqString().
Referenced by v_WriteGeometry(), and WriteXMLGeometry().
void Nektar::SpatialDomains::MeshGraphXml::WriteXMLGeometry | ( | std::string | outname, |
std::vector< std::set< unsigned int > > | elements, | ||
std::vector< unsigned int > | partitions | ||
) |
Definition at line 2808 of file MeshGraphXml.cpp.
References ASSERTL0, CellMLToNektar.pycml::format, Nektar::ParseUtils::GenerateSeqString(), Nektar::ParseUtils::GenerateSeqVector(), Nektar::LibUtilities::SessionReader::GetXMLElementTimeLevel(), Nektar::SpatialDomains::MeshGraph::m_bndRegOrder, Nektar::SpatialDomains::MeshGraph::m_compositesLabels, Nektar::SpatialDomains::MeshGraph::m_curvedEdges, Nektar::SpatialDomains::MeshGraph::m_curvedFaces, Nektar::SpatialDomains::MeshGraph::m_domain, Nektar::SpatialDomains::MeshGraph::m_hexGeoms, Nektar::SpatialDomains::MeshGraph::m_meshComposites, Nektar::SpatialDomains::MeshGraph::m_meshDimension, Nektar::SpatialDomains::MeshGraph::m_prismGeoms, Nektar::SpatialDomains::MeshGraph::m_pyrGeoms, Nektar::SpatialDomains::MeshGraph::m_quadGeoms, Nektar::SpatialDomains::MeshGraph::m_segGeoms, Nektar::SpatialDomains::MeshGraph::m_session, Nektar::SpatialDomains::MeshGraph::m_spaceDimension, Nektar::SpatialDomains::MeshGraph::m_tetGeoms, Nektar::SpatialDomains::MeshGraph::m_triGeoms, Nektar::SpatialDomains::MeshGraph::m_vertSet, CellMLToNektar.cellml_metadata::p, Nektar::LibUtilities::PortablePath(), v_WriteCurves(), v_WriteEdges(), v_WriteHexs(), v_WritePrisms(), v_WritePyrs(), v_WriteQuads(), v_WriteTets(), v_WriteTris(), v_WriteVertices(), WriteComposites(), and WriteDomain().
Referenced by v_PartitionMesh().
|
static |
Definition at line 67 of file MeshGraphXml.h.