Nektar++
|
#include <InputXml.h>
Public Member Functions | |
InputXml (FieldSharedPtr f) | |
Set up InputXml object. More... | |
virtual | ~InputXml () |
virtual void | Process (po::variables_map &vm) |
virtual std::string | GetModuleName () |
virtual std::string | GetModuleDescription () |
virtual ModulePriority | GetModulePriority () |
![]() | |
InputModule (FieldSharedPtr p_m) | |
FIELD_UTILS_EXPORT void | AddFile (std::string fileType, std::string fileName) |
![]() | |
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 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... | |
Additional Inherited Members | |
![]() | |
void | PrintSummary () |
Print summary of elements. More... | |
![]() | |
Module () | |
![]() | |
std::set< std::string > | m_allowedFiles |
![]() | |
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 48 of file InputXml.h.
Nektar::FieldUtils::InputXml::InputXml | ( | FieldSharedPtr | f | ) |
Set up InputXml object.
Definition at line 62 of file InputXml.cpp.
References Nektar::FieldUtils::InputModule::m_allowedFiles.
|
virtual |
Definition at line 71 of file InputXml.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 56 of file InputXml.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
inlinevirtual |
Reimplemented from Nektar::FieldUtils::Module.
Definition at line 68 of file InputXml.h.
|
inlinevirtual |
Implements Nektar::FieldUtils::Module.
Definition at line 63 of file InputXml.h.
|
inlinevirtual |
Implements Nektar::FieldUtils::Module.
Definition at line 73 of file InputXml.h.
References Nektar::FieldUtils::eCreateGraph.
|
virtual |
Implements Nektar::FieldUtils::Module.
Definition at line 78 of file InputXml.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::LibUtilities::SessionReader::CreateInstance(), Nektar::ErrorUtil::efatal, Nektar::ParseUtils::GenerateVector(), Nektar::FieldUtils::Module::m_f, NEKERROR, Nektar::SpatialDomains::NullDomainRangeShPtr, Nektar::SpatialDomains::MeshGraph::Read(), Nektar::LibUtilities::ShapeTypeMap, Nektar::LibUtilities::SIZE_ShapeType, Nektar::LibUtilities::Timer::Start(), Nektar::LibUtilities::Timer::Stop(), and Nektar::LibUtilities::Timer::TimePerTest().
|
static |