|
Nektar++
|
Converter from fld to pts. More...
#include <OutputPts.h>
Public Member Functions | |
| OutputPts (FieldSharedPtr f) | |
| ~OutputPts () override | |
Public Member Functions inherited from Nektar::FieldUtils::OutputFileBase | |
| OutputFileBase (FieldSharedPtr f) | |
| ~OutputFileBase () 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 | |
| std::string | v_GetModuleName () override |
| void | v_OutputFromPts (po::variables_map &vm) override |
| Write from pts to output file. More... | |
| void | v_OutputFromExp (po::variables_map &vm) override |
| Write from m_exp to output file. More... | |
| void | v_OutputFromData (po::variables_map &vm) override |
| Write from data to output file. More... | |
| fs::path | v_GetPath (std::string &filename, po::variables_map &vm) override |
| fs::path | v_GetFullOutName (std::string &filename, po::variables_map &vm) override |
Protected Member Functions inherited from Nektar::FieldUtils::OutputFileBase | |
| 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 |
| virtual void | v_OutputFromPts (po::variables_map &vm)=0 |
| Write from pts to output file. More... | |
| virtual void | v_OutputFromExp (po::variables_map &vm)=0 |
| Write from m_exp to output file. More... | |
| virtual void | v_OutputFromData (po::variables_map &vm)=0 |
| Write from data to output file. More... | |
| virtual fs::path | v_GetPath (std::string &filename, po::variables_map &vm) |
| fs::path | GetPath (std::string &filename, po::variables_map &vm) |
| virtual fs::path | v_GetFullOutName (std::string &filename, po::variables_map &vm) |
| fs::path | GetFullOutName (std::string &filename, po::variables_map &vm) |
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::OutputFileBase | |
| bool | m_requireEquiSpaced |
| bool | m_prohibitWrite = false |
| bool | m_equispacedSetup = false |
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... | |
Converter from fld to pts.
Definition at line 45 of file OutputPts.h.
| Nektar::FieldUtils::OutputPts::OutputPts | ( | FieldSharedPtr | f | ) |
Definition at line 58 of file OutputPts.cpp.
|
override |
Definition at line 62 of file OutputPts.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 49 of file OutputPts.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
overrideprotectedvirtual |
Reimplemented from Nektar::FieldUtils::OutputFileBase.
Definition at line 130 of file OutputPts.cpp.
|
inlineoverrideprotectedvirtual |
Reimplemented from Nektar::FieldUtils::OutputFileBase.
Definition at line 59 of file OutputPts.h.
|
overrideprotectedvirtual |
Reimplemented from Nektar::FieldUtils::OutputFileBase.
Definition at line 124 of file OutputPts.cpp.
|
overrideprotectedvirtual |
Write from data to output file.
Implements Nektar::FieldUtils::OutputFileBase.
Definition at line 119 of file OutputPts.cpp.
References Nektar::ErrorUtil::efatal, and NEKERROR.
|
overrideprotectedvirtual |
Write from m_exp to output file.
Implements Nektar::FieldUtils::OutputFileBase.
Definition at line 83 of file OutputPts.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), Nektar::FieldUtils::Module::m_f, and v_OutputFromPts().
|
overrideprotectedvirtual |
Write from pts to output file.
Implements Nektar::FieldUtils::OutputFileBase.
Definition at line 66 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 v_OutputFromExp().
|
static |
Definition at line 53 of file OutputPts.h.