|
Nektar++
|
Converter for Gmsh files. More...
#include <OutputNekpp.h>


Public Member Functions | |
| OutputNekpp (MeshSharedPtr m) | |
| virtual | ~OutputNekpp () |
| virtual void | Process () |
| Write mesh to output file. | |
Public Member Functions inherited from Nektar::Utilities::OutputModule | |
| OutputModule (FieldSharedPtr p_f) | |
| void | OpenStream () |
| Open a file for output. | |
| OutputModule (MeshSharedPtr p_m) | |
| void | OpenStream () |
Public Member Functions inherited from Nektar::Utilities::Module | |
| Module (FieldSharedPtr p_f) | |
| virtual void | Process (po::variables_map &vm)=0 |
| void | RegisterConfig (string key, string value) |
| Register a configuration option with a module. | |
| void | PrintConfig () |
| Print out all configuration options for a module. | |
| void | SetDefaults () |
| Sets default configuration options for those which have not been set. | |
| bool | GetRequireEquiSpaced (void) |
| void | SetRequireEquiSpaced (bool pVal) |
| void | EvaluateTriFieldAtEquiSpacedPts (LocalRegions::ExpansionSharedPtr &exp, const Array< OneD, const NekDouble > &infield, Array< OneD, NekDouble > &outfield) |
| Module (MeshSharedPtr p_m) | |
| void | RegisterConfig (string key, string value) |
| void | PrintConfig () |
| void | SetDefaults () |
| MeshSharedPtr | GetMesh () |
| virtual void | ProcessVertices () |
| Extract element vertices. | |
Static Public Member Functions | |
| static boost::shared_ptr< Module > | create (MeshSharedPtr m) |
| Creates an instance of this class. | |
Static Public Attributes | |
| static ModuleKey | className |
Private Member Functions | |
| void | WriteXmlNodes (TiXmlElement *pRoot) |
| Writes the <NODES> section of the XML file. | |
| void | WriteXmlEdges (TiXmlElement *pRoot) |
| Writes the <EDGES> section of the XML file. | |
| void | WriteXmlFaces (TiXmlElement *pRoot) |
| Writes the <FACES> section of the XML file if needed. | |
| void | WriteXmlElements (TiXmlElement *pRoot) |
| Writes the <ELEMENTS> section of the XML file. | |
| void | WriteXmlCurves (TiXmlElement *pRoot) |
| Writes the <CURVES> section of the XML file if needed. | |
| void | WriteXmlComposites (TiXmlElement *pRoot) |
| Writes the <COMPOSITES> section of the XML file. | |
| void | WriteXmlDomain (TiXmlElement *pRoot) |
| Writes the <DOMAIN> section of the XML file. | |
| void | WriteXmlExpansions (TiXmlElement *pRoot) |
| Writes the <EXPANSIONS> section of the XML file. | |
| void | WriteXmlConditions (TiXmlElement *pRoot) |
| Writes the <CONDITIONS> section of the XML file. | |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::Utilities::Module | |
| Module () | |
| virtual void | ProcessEdges (bool ReprocessEdges=true) |
| Extract element edges. | |
| virtual void | ProcessFaces (bool ReprocessFaces=true) |
| Extract element faces. | |
| virtual void | ProcessElements () |
| Generate element IDs. | |
| virtual void | ProcessComposites () |
| Generate composites. | |
| void | ReorderPrisms (PerMap &perFaces) |
| Reorder node IDs so that prisms and tetrahedra are aligned correctly. | |
| void | PrismLines (int prism, PerMap &perFaces, set< int > &prismsDone, vector< ElementSharedPtr > &line) |
Protected Attributes inherited from Nektar::Utilities::OutputModule | |
| ofstream | m_fldFile |
| Output stream. | |
| std::ofstream | m_mshFile |
| Output stream. | |
Converter for Gmsh files.
Definition at line 47 of file OutputNekpp.h.
| Nektar::Utilities::OutputNekpp::OutputNekpp | ( | MeshSharedPtr | m | ) |
Definition at line 61 of file OutputNekpp.cpp.
References Nektar::Utilities::Module::m_config.
|
virtual |
Definition at line 69 of file OutputNekpp.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 51 of file OutputNekpp.h.
|
virtual |
Write mesh to output file.
Implements Nektar::Utilities::Module.
Definition at line 74 of file OutputNekpp.cpp.
References Nektar::LibUtilities::SessionReader::CreateInstance(), Nektar::Utilities::Module::m_config, Nektar::Utilities::Module::m_mesh, Nektar::SpatialDomains::MeshGraph::Read(), WriteXmlComposites(), WriteXmlConditions(), WriteXmlCurves(), WriteXmlDomain(), WriteXmlEdges(), WriteXmlElements(), WriteXmlExpansions(), WriteXmlFaces(), and WriteXmlNodes().
|
private |
Writes the <COMPOSITES> section of the XML file.
Definition at line 325 of file OutputNekpp.cpp.
References Nektar::Utilities::ePeriodic, Nektar::StdRegions::find(), Nektar::iterator, and Nektar::Utilities::Module::m_mesh.
Referenced by Process().
|
private |
Writes the <CONDITIONS> section of the XML file.
Definition at line 437 of file OutputNekpp.cpp.
References Nektar::Utilities::eDirichlet, Nektar::Utilities::eHOPCondition, Nektar::Utilities::eNeumann, Nektar::Utilities::ePeriodic, Nektar::iterator, and Nektar::Utilities::Module::m_mesh.
Referenced by Process().
|
private |
Writes the <CURVES> section of the XML file if needed.
Definition at line 243 of file OutputNekpp.cpp.
References Nektar::iterator, Nektar::LibUtilities::kPointsTypeStr, and Nektar::Utilities::Module::m_mesh.
Referenced by Process().
|
private |
Writes the <DOMAIN> section of the XML file.
Definition at line 377 of file OutputNekpp.cpp.
References Nektar::iterator, and Nektar::Utilities::Module::m_mesh.
Referenced by Process().
|
private |
Writes the <EDGES> section of the XML file.
Definition at line 166 of file OutputNekpp.cpp.
References Nektar::iterator, and Nektar::Utilities::Module::m_mesh.
Referenced by Process().
|
private |
Writes the <ELEMENTS> section of the XML file.
Definition at line 228 of file OutputNekpp.cpp.
References GetXmlString(), and Nektar::Utilities::Module::m_mesh.
Referenced by Process().
|
private |
Writes the <EXPANSIONS> section of the XML file.
Definition at line 399 of file OutputNekpp.cpp.
References Nektar::iterator, and Nektar::Utilities::Module::m_mesh.
Referenced by Process().
|
private |
Writes the <FACES> section of the XML file if needed.
Definition at line 189 of file OutputNekpp.cpp.
References Nektar::iterator, and Nektar::Utilities::Module::m_mesh.
Referenced by Process().
|
private |
Writes the <NODES> section of the XML file.
Definition at line 143 of file OutputNekpp.cpp.
References Nektar::iterator, and Nektar::Utilities::Module::m_mesh.
Referenced by Process().
|
static |
Definition at line 54 of file OutputNekpp.h.
1.8.1.2