Nektar++
|
Abstract base class for output modules. More...
#include <Module.h>
Public Member Functions | |
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) |
virtual void | Process (po::variables_map &vm)=0 |
virtual std::string | GetModuleName ()=0 |
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) |
Protected Attributes | |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::FieldUtils::Module | |
Module () | |
Abstract base class for output modules.
Output modules take the mesh #m and write to the file specified by the stream.
Definition at line 218 of file FieldUtils/Module.h.
Nektar::FieldUtils::OutputModule::OutputModule | ( | FieldSharedPtr | p_f | ) |
Definition at line 70 of file FieldUtils/Module.cpp.
References Nektar::FieldUtils::Module::m_config.
void Nektar::FieldUtils::OutputModule::OpenStream | ( | ) |
Open a file for output.
Definition at line 89 of file FieldUtils/Module.cpp.
References Nektar::FieldUtils::Module::m_config, and m_fldFile.
|
protected |