Nektar++
|
Converter from fld to pts. More...
#include <OutputPts.h>
Public Member Functions | |
OutputPts (FieldSharedPtr f) | |
virtual | ~OutputPts () |
virtual std::string | GetModuleName () |
![]() | |
OutputFileBase (FieldSharedPtr f) | |
virtual | ~OutputFileBase () |
virtual void | Process (po::variables_map &vm) |
Write fld to output file. More... | |
virtual std::string | GetModuleDescription () |
virtual ModulePriority | GetModulePriority () |
![]() | |
OutputModule (FieldSharedPtr p_f) | |
FIELD_UTILS_EXPORT void | OpenStream () |
Open a file for output. More... | |
![]() | |
FIELD_UTILS_EXPORT | Module (FieldSharedPtr p_f) |
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 | 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 | |
virtual void | OutputFromPts (po::variables_map &vm) |
Write from pts to output file. More... | |
virtual void | OutputFromExp (po::variables_map &vm) |
Write from m_exp to output file. More... | |
virtual void | OutputFromData (po::variables_map &vm) |
Write from data to output file. More... | |
virtual fs::path | GetPath (std::string &filename, po::variables_map &vm) |
virtual fs::path | GetFullOutName (std::string &filename, po::variables_map &vm) |
![]() | |
Module () | |
Additional Inherited Members | |
![]() | |
bool | m_requireEquiSpaced |
![]() | |
std::ofstream | m_fldFile |
Output stream. More... | |
![]() | |
FieldSharedPtr | m_f |
Field object. More... | |
std::map< std::string, ConfigOption > | m_config |
List of configuration values. More... | |
Converter from fld to pts.
Definition at line 47 of file OutputPts.h.
Nektar::FieldUtils::OutputPts::OutputPts | ( | FieldSharedPtr | f | ) |
Definition at line 61 of file OutputPts.cpp.
|
virtual |
Definition at line 65 of file OutputPts.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 51 of file OutputPts.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
protectedvirtual |
Implements Nektar::FieldUtils::OutputFileBase.
Definition at line 143 of file OutputPts.cpp.
Referenced by GetModuleName().
|
inlinevirtual |
Reimplemented from Nektar::FieldUtils::OutputFileBase.
Definition at line 60 of file OutputPts.h.
References GetFullOutName(), GetPath(), OutputFromData(), OutputFromExp(), and OutputFromPts().
|
protectedvirtual |
Implements Nektar::FieldUtils::OutputFileBase.
Definition at line 136 of file OutputPts.cpp.
Referenced by GetModuleName().
|
protectedvirtual |
Write from data to output file.
Implements Nektar::FieldUtils::OutputFileBase.
Definition at line 129 of file OutputPts.cpp.
References Nektar::ErrorUtil::efatal, and NEKERROR.
Referenced by GetModuleName().
|
protectedvirtual |
Write from m_exp to output file.
Implements Nektar::FieldUtils::OutputFileBase.
Definition at line 88 of file OutputPts.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), Nektar::FieldUtils::Module::m_f, and OutputFromPts().
Referenced by GetModuleName().
|
protectedvirtual |
Write from pts to output file.
Implements Nektar::FieldUtils::OutputFileBase.
Definition at line 69 of file OutputPts.cpp.
References Nektar::FieldUtils::Module::m_config, Nektar::FieldUtils::Module::m_f, Nektar::LibUtilities::CsvIO::Write(), and Nektar::LibUtilities::PtsIO::Write().
Referenced by GetModuleName(), and OutputFromExp().
|
static |
Definition at line 55 of file OutputPts.h.