Nektar++
|
Converter from fld to vtk. More...
#include <OutputVtk.h>
Public Member Functions | |
OutputVtk (FieldSharedPtr f) | |
virtual | ~OutputVtk () |
virtual void | Process (po::variables_map &vm) |
Write fld to output file. More... | |
OutputVtk (MeshSharedPtr m) | |
virtual | ~OutputVtk () |
virtual void | Process () |
Write mesh to output file. More... | |
Public Member Functions inherited from Nektar::Utilities::OutputModule | |
OutputModule (FieldSharedPtr p_f) | |
void | OpenStream () |
Open a file for output. More... | |
OutputModule (MeshSharedPtr p_m) | |
void | OpenStream () |
Public Member Functions inherited from Nektar::Utilities::Module | |
Module (FieldSharedPtr p_f) | |
void | RegisterConfig (string key, string value) |
Register a configuration option with a module. More... | |
void | PrintConfig () |
Print out all configuration options for a module. More... | |
void | SetDefaults () |
Sets default configuration options for those which have not been set. More... | |
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. More... | |
virtual void | ProcessEdges (bool ReprocessEdges=true) |
Extract element edges. More... | |
virtual void | ProcessFaces (bool ReprocessFaces=true) |
Extract element faces. More... | |
virtual void | ProcessElements () |
Generate element IDs. More... | |
virtual void | ProcessComposites () |
Generate composites. More... | |
virtual void | ClearElementLinks () |
Static Public Member Functions | |
static boost::shared_ptr< Module > | create (FieldSharedPtr f) |
Creates an instance of this class. More... | |
static boost::shared_ptr< Module > | create (MeshSharedPtr m) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static ModuleKey | m_className |
static ModuleKey | className |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::Utilities::Module | |
Module () | |
void | ReorderPrisms (PerMap &perFaces) |
Reorder node IDs so that prisms and tetrahedra are aligned correctly. More... | |
void | PrismLines (int prism, PerMap &perFaces, set< int > &prismsDone, vector< ElementSharedPtr > &line) |
Protected Attributes inherited from Nektar::Utilities::OutputModule | |
ofstream | m_fldFile |
Output stream. More... | |
std::ofstream | m_mshFile |
Output stream. More... | |
Protected Attributes inherited from Nektar::Utilities::Module | |
FieldSharedPtr | m_f |
Field object. More... | |
map< string, ConfigOption > | m_config |
List of configuration values. More... | |
bool | m_requireEquiSpaced |
MeshSharedPtr | m_mesh |
Mesh object. More... | |
Converter from fld to vtk.
Converter for Gmsh files.
Definition at line 48 of file FieldConvert/OutputModules/OutputVtk.h.
Nektar::Utilities::OutputVtk::OutputVtk | ( | FieldSharedPtr | f | ) |
Definition at line 55 of file FieldConvert/OutputModules/OutputVtk.cpp.
References Nektar::Utilities::Module::m_requireEquiSpaced.
|
virtual |
Definition at line 60 of file FieldConvert/OutputModules/OutputVtk.cpp.
Nektar::Utilities::OutputVtk::OutputVtk | ( | MeshSharedPtr | m | ) |
Definition at line 56 of file NekMesh/OutputModules/OutputVtk.cpp.
|
virtual |
|
inlinestatic |
Creates an instance of this class.
Definition at line 51 of file NekMesh/OutputModules/OutputVtk.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
inlinestatic |
Creates an instance of this class.
Definition at line 52 of file FieldConvert/OutputModules/OutputVtk.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
virtual |
Write mesh to output file.
Implements Nektar::Utilities::Module.
Definition at line 64 of file NekMesh/OutputModules/OutputVtk.cpp.
References Nektar::iterator, Nektar::Utilities::Module::m_config, and Nektar::Utilities::Module::m_mesh.
|
virtual |
Write fld to output file.
Implements Nektar::Utilities::Module.
Definition at line 64 of file FieldConvert/OutputModules/OutputVtk.cpp.
References ASSERTL0, ASSERTL1, Nektar::LibUtilities::ePtsFile, Nektar::LibUtilities::ePtsLine, Nektar::LibUtilities::ePtsPlane, Nektar::LibUtilities::ePtsTetBlock, Nektar::LibUtilities::ePtsTriBlock, Nektar::Utilities::Module::m_config, Nektar::Utilities::Module::m_f, Nektar::LibUtilities::NullPtsField, and Nektar::LibUtilities::PortablePath().
|
static |
Definition at line 55 of file NekMesh/OutputModules/OutputVtk.h.
|
static |
Definition at line 55 of file FieldConvert/OutputModules/OutputVtk.h.