Nektar++
|
This processing module interpolates one field to another. More...
#include <ProcessInterpPoints.h>
Public Member Functions | |
ProcessInterpPoints (FieldSharedPtr f) | |
virtual | ~ProcessInterpPoints () |
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 () |
virtual std::string | GetModuleDescription () |
virtual ModulePriority | GetModulePriority () |
![]() | |
ProcessModule () | |
ProcessModule (FieldSharedPtr p_f) | |
![]() | |
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 std::shared_ptr< Module > | create (FieldSharedPtr f) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static ModuleKey | className |
Private Member Functions | |
void | CreateFieldPts (po::variables_map &vm) |
void | InterpolateFieldToPts (vector< MultiRegions::ExpListSharedPtr > &field0, LibUtilities::PtsFieldSharedPtr &pts, NekDouble clamp_low, NekDouble clamp_up, NekDouble def_value) |
void | calcCp0 () |
Additional Inherited Members | |
![]() | |
Module () | |
![]() | |
FieldSharedPtr | m_f |
Field object. More... | |
std::map< std::string, ConfigOption > | m_config |
List of configuration values. More... | |
This processing module interpolates one field to another.
Definition at line 50 of file ProcessInterpPoints.h.
Nektar::FieldUtils::ProcessInterpPoints::ProcessInterpPoints | ( | FieldSharedPtr | f | ) |
Definition at line 68 of file ProcessInterpPoints.cpp.
References Nektar::FieldUtils::Module::m_config.
|
virtual |
Definition at line 101 of file ProcessInterpPoints.cpp.
|
private |
Definition at line 501 of file ProcessInterpPoints.cpp.
References ASSERTL0, Nektar::ParseUtils::GenerateVector(), Nektar::FieldUtils::Module::m_config, Nektar::FieldUtils::Module::m_f, and WARNINGL0.
Referenced by GetModulePriority(), and Process().
|
inlinestatic |
Creates an instance of this class.
Definition at line 54 of file ProcessInterpPoints.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
private |
Definition at line 228 of file ProcessInterpPoints.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::LibUtilities::ePtsBox, Nektar::LibUtilities::ePtsLine, Nektar::LibUtilities::ePtsPlane, Nektar::ParseUtils::GenerateVector(), Nektar::FieldUtils::Module::m_config, and Nektar::FieldUtils::Module::m_f.
Referenced by GetModulePriority(), and Process().
|
inlinevirtual |
Reimplemented from Nektar::FieldUtils::Module.
Definition at line 73 of file ProcessInterpPoints.h.
|
inlinevirtual |
Implements Nektar::FieldUtils::Module.
Definition at line 68 of file ProcessInterpPoints.h.
|
inlinevirtual |
Implements Nektar::FieldUtils::Module.
Definition at line 78 of file ProcessInterpPoints.h.
References calcCp0(), CreateFieldPts(), Nektar::FieldUtils::eCreatePts, and InterpolateFieldToPts().
|
private |
Definition at line 460 of file ProcessInterpPoints.cpp.
References ASSERTL0, Nektar::FieldUtils::Interpolator::Interpolate(), Nektar::FieldUtils::Module::m_f, PrintProgressbar(), and Nektar::LibUtilities::Interpolator::SetProgressCallback().
Referenced by GetModulePriority(), and Process().
void Nektar::FieldUtils::ProcessInterpPoints::PrintProgressbar | ( | const int | position, |
const int | goal | ||
) | const |
Definition at line 588 of file ProcessInterpPoints.cpp.
References Nektar::LibUtilities::PrintProgressbar().
Referenced by InterpolateFieldToPts().
|
virtual |
Write mesh to output file.
Implements Nektar::FieldUtils::Module.
Definition at line 105 of file ProcessInterpPoints.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, calcCp0(), CreateFieldPts(), Nektar::LibUtilities::SessionReader::CreateInstance(), Nektar::ErrorUtil::efatal, Nektar::ParseUtils::GenerateVector(), Nektar::LibUtilities::GetCommFactory(), InterpolateFieldToPts(), Nektar::FieldUtils::Module::m_config, Nektar::FieldUtils::Module::m_f, NEKERROR, Nektar::LibUtilities::NullFieldMetaDataMap, Nektar::SpatialDomains::MeshGraph::Read(), Vmath::Vmax(), and Vmath::Vmin().
|
static |
Definition at line 58 of file ProcessInterpPoints.h.