|
Nektar++
|
Input module for Xml files. More...
#include <InputDat.h>
Public Member Functions | |
| InputDat (FieldSharedPtr f) | |
| Set up InputDat object. More... | |
| virtual | ~InputDat () |
| virtual void | Process (po::variables_map &vm) |
| virtual std::string | GetModuleName () |
| virtual std::string | GetModuleDescription () |
| virtual ModulePriority | GetModulePriority () |
Public Member Functions inherited from Nektar::FieldUtils::InputModule | |
| InputModule (FieldSharedPtr p_m) | |
| FIELD_UTILS_EXPORT void | AddFile (std::string fileType, std::string fileName) |
Public Member Functions inherited from Nektar::FieldUtils::Module | |
| 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 ModuleSharedPtr | create (FieldSharedPtr f) |
| Creates an instance of this class. More... | |
Static Public Member Functions inherited from Nektar::FieldUtils::InputModule | |
| static FIELD_UTILS_EXPORT std::string | GuessFormat (std::string fileName) |
| Tries to guess the format of the input file. More... | |
Static Public Attributes | |
| static ModuleKey | m_className [] |
| ModuleKey for class. More... | |
Private Member Functions | |
| void | ReadTecplotFEBlockZone (std::ifstream &datFile, string &line, Array< OneD, Array< OneD, NekDouble > > &pts, vector< Array< OneD, int > > &ptsConn) |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::FieldUtils::InputModule | |
| void | PrintSummary () |
| Print summary of elements. More... | |
Protected Member Functions inherited from Nektar::FieldUtils::Module | |
| Module () | |
Protected Attributes inherited from Nektar::FieldUtils::InputModule | |
| std::set< std::string > | m_allowedFiles |
Protected Attributes inherited from Nektar::FieldUtils::Module | |
| FieldSharedPtr | m_f |
| Field object. More... | |
| std::map< std::string, ConfigOption > | m_config |
| List of configuration values. More... | |
Input module for Xml files.
Definition at line 46 of file InputDat.h.
| Nektar::FieldUtils::InputDat::InputDat | ( | FieldSharedPtr | f | ) |
Set up InputDat object.
Definition at line 65 of file InputDat.cpp.
References Nektar::FieldUtils::InputModule::m_allowedFiles.
|
virtual |
Definition at line 73 of file InputDat.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 54 of file InputDat.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
inlinevirtual |
Reimplemented from Nektar::FieldUtils::Module.
Definition at line 66 of file InputDat.h.
|
inlinevirtual |
Implements Nektar::FieldUtils::Module.
Definition at line 61 of file InputDat.h.
|
inlinevirtual |
Implements Nektar::FieldUtils::Module.
Definition at line 71 of file InputDat.h.
References Nektar::FieldUtils::eCreatePts, and ReadTecplotFEBlockZone().
|
virtual |
Implements Nektar::FieldUtils::Module.
Definition at line 80 of file InputDat.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::LibUtilities::ePtsTriBlock, Nektar::ParseUtils::GenerateVector(), Nektar::FieldUtils::Module::m_f, and ReadTecplotFEBlockZone().
|
private |
Definition at line 158 of file InputDat.cpp.
References ASSERTL0.
Referenced by GetModulePriority(), and Process().
|
static |
ModuleKey for class.
Definition at line 59 of file InputDat.h.
1.8.13