|
Nektar++
|
Abstract base class for input modules. More...
#include <Module.h>
Public Member Functions | |
| InputModule (FieldSharedPtr p_m) | |
| void | PrintSummary () |
| Print a brief summary of information. 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 | ~Module ()=default |
| virtual std::string | GetModuleName ()=0 |
| virtual std::string | GetModuleDescription () |
| const ConfigOption & | GetConfigOption (const std::string &key) const |
| virtual ModulePriority | GetModulePriority ()=0 |
| 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 FIELD_UTILS_EXPORT std::string | GuessFormat (std::string fileName) |
| Tries to guess the format of the input file. More... | |
Additional Inherited Members | |
Public Attributes inherited from Nektar::FieldUtils::Module | |
| FieldSharedPtr | m_f |
| Field object. More... | |
Protected Member Functions inherited from Nektar::FieldUtils::Module | |
| Module () | |
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... | |
Abstract base class for input modules.
Input modules should read the contents of #fldFile in the Process() function and populate the members of #m. Typically any given module should populate Mesh::expDim, Mesh::spaceDim, Mesh::node and Mesh::element, then call the protected ProcessX functions to generate edges, faces, etc.
| Nektar::FieldUtils::InputModule::InputModule | ( | FieldSharedPtr | p_m | ) |
Definition at line 63 of file Module.cpp.
References Nektar::FieldUtils::Module::m_config.
|
static |
| void Nektar::FieldUtils::InputModule::PrintSummary | ( | ) |
Print a brief summary of information.
Definition at line 196 of file Module.cpp.
References Nektar::FieldUtils::Module::m_f.