Nektar++
|
#include <OutputInfo.h>
Public Member Functions | |
OutputInfo (FieldSharedPtr f) | |
~OutputInfo () override | |
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) |
virtual | ~Module ()=default |
void | Process (po::variables_map &vm) |
std::string | GetModuleName () |
std::string | GetModuleDescription () |
const ConfigOption & | GetConfigOption (const std::string &key) const |
ModulePriority | GetModulePriority () |
std::vector< ModuleKey > | GetModulePrerequisites () |
FIELD_UTILS_EXPORT void | RegisterConfig (std::string key, std::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 void | AddFile (std::string fileType, std::string fileName) |
FIELD_UTILS_EXPORT void | EvaluateTriFieldAtEquiSpacedPts (LocalRegions::ExpansionSharedPtr &exp, const Array< OneD, const NekDouble > &infield, Array< OneD, NekDouble > &outfield) |
Static Public Member Functions | |
static std::shared_ptr< Module > | create (FieldSharedPtr f) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static ModuleKey | m_className |
Protected Member Functions | |
void | v_Process (po::variables_map &vm) override |
Write fld to output file. More... | |
std::string | v_GetModuleName () override |
std::string | v_GetModuleDescription () override |
ModulePriority | v_GetModulePriority () override |
Protected Member Functions inherited from Nektar::FieldUtils::Module | |
Module () | |
virtual void | v_Process (po::variables_map &vm) |
virtual std::string | v_GetModuleName () |
virtual std::string | v_GetModuleDescription () |
virtual ModulePriority | v_GetModulePriority () |
virtual std::vector< ModuleKey > | v_GetModulePrerequisites () |
Additional Inherited Members | |
Public Attributes inherited from Nektar::FieldUtils::Module | |
FieldSharedPtr | m_f |
Field object. More... | |
Protected Attributes inherited from Nektar::FieldUtils::OutputModule | |
std::ofstream | m_fldFile |
Output stream. More... | |
Protected Attributes inherited from Nektar::FieldUtils::Module | |
std::map< std::string, ConfigOption > | m_config |
List of configuration values. More... | |
std::set< std::string > | m_allowedFiles |
List of allowed file formats. More... | |
Definition at line 44 of file OutputInfo.h.
Nektar::FieldUtils::OutputInfo::OutputInfo | ( | FieldSharedPtr | f | ) |
Definition at line 53 of file OutputInfo.cpp.
References Nektar::FieldUtils::Module::m_config.
|
override |
Definition at line 60 of file OutputInfo.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 48 of file OutputInfo.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
inlineoverrideprotectedvirtual |
Reimplemented from Nektar::FieldUtils::Module.
Definition at line 66 of file OutputInfo.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from Nektar::FieldUtils::Module.
Definition at line 61 of file OutputInfo.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from Nektar::FieldUtils::Module.
Definition at line 71 of file OutputInfo.h.
References Nektar::FieldUtils::eOutput.
|
overrideprotectedvirtual |
Write fld to output file.
Reimplemented from Nektar::FieldUtils::Module.
Definition at line 64 of file OutputInfo.cpp.
References ASSERTL0, Nektar::LibUtilities::XmlDataSource::create(), CellMLToNektar.pycml::format, Nektar::LibUtilities::GetFieldIOFactory(), Nektar::FieldUtils::Module::m_config, Nektar::FieldUtils::Module::m_f, CellMLToNektar.cellml_metadata::p, and Nektar::LibUtilities::PortablePath().
|
static |
Definition at line 52 of file OutputInfo.h.