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... | |
void | WriteEmptyVtkPiece (std::ofstream &outfile) |
virtual std::string | GetModuleName () |
Public Member Functions inherited from Nektar::FieldUtils::OutputModule | |
OutputModule (FieldSharedPtr p_f) | |
FIELD_UTILS_EXPORT void | OpenStream () |
Open a file for output. More... | |
Public Member Functions inherited from Nektar::FieldUtils::Module | |
FIELD_UTILS_EXPORT | Module (FieldSharedPtr p_f) |
FIELD_UTILS_EXPORT void | RegisterConfig (string key, string value) |
Register a configuration option with a module. More... | |
FIELD_UTILS_EXPORT void | PrintConfig () |
Print out all configuration options for a module. More... | |
FIELD_UTILS_EXPORT void | SetDefaults () |
Sets default configuration options for those which have not been set. More... | |
FIELD_UTILS_EXPORT bool | GetRequireEquiSpaced (void) |
FIELD_UTILS_EXPORT void | SetRequireEquiSpaced (bool pVal) |
FIELD_UTILS_EXPORT void | EvaluateTriFieldAtEquiSpacedPts (LocalRegions::ExpansionSharedPtr &exp, const Array< OneD, const NekDouble > &infield, Array< OneD, NekDouble > &outfield) |
Static Public Member Functions | |
static boost::shared_ptr< Module > | create (FieldSharedPtr f) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static ModuleKey | m_className |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::FieldUtils::Module | |
Module () | |
Protected Attributes inherited from Nektar::FieldUtils::OutputModule | |
ofstream | m_fldFile |
Output stream. More... | |
Protected Attributes inherited from Nektar::FieldUtils::Module | |
FieldSharedPtr | m_f |
Field object. More... | |
map< string, ConfigOption > | m_config |
List of configuration values. More... | |
bool | m_requireEquiSpaced |
Converter from fld to vtk.
Definition at line 48 of file library/FieldUtils/OutputModules/OutputVtk.h.
Nektar::FieldUtils::OutputVtk::OutputVtk | ( | FieldSharedPtr | f | ) |
Definition at line 53 of file library/FieldUtils/OutputModules/OutputVtk.cpp.
References Nektar::FieldUtils::Module::m_requireEquiSpaced.
|
virtual |
Definition at line 58 of file library/FieldUtils/OutputModules/OutputVtk.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 52 of file library/FieldUtils/OutputModules/OutputVtk.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
inlinevirtual |
Implements Nektar::FieldUtils::Module.
Definition at line 66 of file library/FieldUtils/OutputModules/OutputVtk.h.
|
virtual |
Write fld to output file.
Implements Nektar::FieldUtils::Module.
Definition at line 62 of file library/FieldUtils/OutputModules/OutputVtk.cpp.
References ASSERTL0, ASSERTL1, Nektar::LibUtilities::ePtsBox, Nektar::LibUtilities::ePtsFile, Nektar::LibUtilities::ePtsLine, Nektar::LibUtilities::ePtsPlane, Nektar::LibUtilities::ePtsSegBlock, Nektar::LibUtilities::ePtsTetBlock, Nektar::LibUtilities::ePtsTriBlock, CellMLToNektar.pycml::format, Nektar::FieldUtils::Module::m_config, Nektar::FieldUtils::Module::m_f, Nektar::LibUtilities::NullPtsField, Nektar::LibUtilities::PortablePath(), and WriteEmptyVtkPiece().
void Nektar::FieldUtils::OutputVtk::WriteEmptyVtkPiece | ( | std::ofstream & | outfile | ) |
Definition at line 379 of file library/FieldUtils/OutputModules/OutputVtk.cpp.
Referenced by Process().
|
static |
Definition at line 56 of file library/FieldUtils/OutputModules/OutputVtk.h.