Nektar++
|
This processing module interpolates one field to another. More...
#include <ProcessInterpField.h>
Public Member Functions | |
ProcessInterpField (FieldSharedPtr f) | |
virtual | ~ProcessInterpField () |
virtual void | Process (po::variables_map &vm) |
Write mesh to output file. More... | |
void | PrintProgressbar (const int position, const int goal) const |
virtual std::string | GetModuleName () |
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) |
FIELD_UTILS_EXPORT void | RegisterConfig (string key, 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 bool | GetRequireEquiSpaced (void) |
FIELD_UTILS_EXPORT void | SetRequireEquiSpaced (bool pVal) |
FIELD_UTILS_EXPORT void | EvaluateTriFieldAtEquiSpacedPts (LocalRegions::ExpansionSharedPtr &exp, const Array< OneD, const NekDouble > &infield, Array< OneD, NekDouble > &outfield) |
Static Public Member Functions | |
static boost::shared_ptr< Module > | create (FieldSharedPtr f) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static ModuleKey | className |
Private Attributes | |
FieldSharedPtr | m_fromField |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::FieldUtils::Module | |
Module () | |
Protected Attributes inherited from Nektar::FieldUtils::Module | |
FieldSharedPtr | m_f |
Field object. More... | |
map< string, ConfigOption > | m_config |
List of configuration values. More... | |
bool | m_requireEquiSpaced |
This processing module interpolates one field to another.
Definition at line 49 of file ProcessInterpField.h.
Nektar::FieldUtils::ProcessInterpField::ProcessInterpField | ( | FieldSharedPtr | f | ) |
Definition at line 58 of file ProcessInterpField.cpp.
References Nektar::FieldUtils::Module::m_config.
|
virtual |
Definition at line 74 of file ProcessInterpField.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 53 of file ProcessInterpField.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
inlinevirtual |
Implements Nektar::FieldUtils::Module.
Definition at line 67 of file ProcessInterpField.h.
void Nektar::FieldUtils::ProcessInterpField::PrintProgressbar | ( | const int | position, |
const int | goal | ||
) | const |
Definition at line 275 of file ProcessInterpField.cpp.
References Nektar::LibUtilities::PrintProgressbar().
Referenced by Process().
|
virtual |
Write mesh to output file.
Implements Nektar::FieldUtils::Module.
Definition at line 78 of file ProcessInterpField.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::LibUtilities::SessionReader::CreateInstance(), Nektar::ParseUtils::GenerateOrderedStringVector(), Nektar::FieldUtils::Interpolator::Interpolate(), Nektar::FieldUtils::Module::m_config, Nektar::FieldUtils::Module::m_f, m_fromField, npts, Nektar::LibUtilities::NullFieldMetaDataMap, Nektar::NullNekDouble1DArray, PrintProgressbar(), Nektar::SpatialDomains::MeshGraph::Read(), Nektar::FieldUtils::Interpolator::SetProgressCallback(), Vmath::Vmax(), and Vmath::Vmin().
|
static |
Definition at line 57 of file ProcessInterpField.h.
|
private |
Definition at line 73 of file ProcessInterpField.h.
Referenced by Process().