Nektar++
|
This processing module scales the input fld file. More...
#include <ProcessMRF.h>
Public Member Functions | |
ProcessMRF (FieldSharedPtr f) | |
~ProcessMRF () override | |
Public Member Functions inherited from Nektar::FieldUtils::ProcessModule | |
ProcessModule () | |
ProcessModule (FieldSharedPtr p_f) | |
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 | className |
Protected Member Functions | |
void | v_Process (po::variables_map &vm) override |
Write mesh to output file. More... | |
std::string | v_GetModuleName () override |
std::string | v_GetModuleDescription () override |
ModulePriority | v_GetModulePriority () override |
void | ReadMRFData () |
void | TransformVector (std::vector< Array< OneD, NekDouble > > &data) |
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 () |
Private Attributes | |
NekInt | m_spacedim |
std::vector< NekDouble > | m_origin |
std::vector< NekDouble > | m_theta |
std::vector< NekDouble > | m_pivot |
Additional Inherited Members | |
Public Attributes inherited from Nektar::FieldUtils::Module | |
FieldSharedPtr | m_f |
Field object. 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... | |
This processing module scales the input fld file.
Definition at line 48 of file ProcessMRF.h.
Nektar::FieldUtils::ProcessMRF::ProcessMRF | ( | FieldSharedPtr | f | ) |
Definition at line 49 of file ProcessMRF.cpp.
References Nektar::FieldUtils::Module::m_config.
|
override |
Definition at line 54 of file ProcessMRF.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 52 of file ProcessMRF.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
protected |
Definition at line 146 of file ProcessMRF.cpp.
References Nektar::FieldUtils::Module::m_f, m_origin, m_pivot, and m_theta.
Referenced by v_Process().
|
protected |
Definition at line 180 of file ProcessMRF.cpp.
References Nektar::ErrorUtil::efatal, m_spacedim, m_theta, NEKERROR, Vmath::Svtsvtp(), and Vmath::Vcopy().
Referenced by v_Process().
|
inlineoverrideprotectedvirtual |
Reimplemented from Nektar::FieldUtils::Module.
Definition at line 70 of file ProcessMRF.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from Nektar::FieldUtils::Module.
Definition at line 65 of file ProcessMRF.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from Nektar::FieldUtils::Module.
Definition at line 75 of file ProcessMRF.h.
References Nektar::FieldUtils::eModifyExp.
|
overrideprotectedvirtual |
Write mesh to output file.
Reimplemented from Nektar::FieldUtils::Module.
Definition at line 58 of file ProcessMRF.cpp.
References ASSERTL0, Nektar::UnitTests::d(), Nektar::ParseUtils::GenerateVariableVector(), Nektar::FieldUtils::Module::m_config, Nektar::FieldUtils::Module::m_f, m_origin, m_pivot, m_spacedim, ReadMRFData(), Vmath::Sadd(), TransformVector(), and Vmath::Vcopy().
|
static |
Definition at line 56 of file ProcessMRF.h.
|
private |
Definition at line 84 of file ProcessMRF.h.
Referenced by ReadMRFData(), and v_Process().
|
private |
Definition at line 86 of file ProcessMRF.h.
Referenced by ReadMRFData(), and v_Process().
|
private |
Definition at line 83 of file ProcessMRF.h.
Referenced by TransformVector(), and v_Process().
|
private |
Definition at line 85 of file ProcessMRF.h.
Referenced by ReadMRFData(), and TransformVector().