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. | |
Public Member Functions inherited from Nektar::Utilities::ProcessModule | |
ProcessModule (FieldSharedPtr p_f) | |
ProcessModule (MeshSharedPtr p_m) | |
Public Member Functions inherited from Nektar::Utilities::Module | |
Module (FieldSharedPtr p_f) | |
void | RegisterConfig (string key, string value) |
Register a configuration option with a module. | |
void | PrintConfig () |
Print out all configuration options for a module. | |
void | SetDefaults () |
Sets default configuration options for those which have not been set. | |
bool | GetRequireEquiSpaced (void) |
void | SetRequireEquiSpaced (bool pVal) |
Module (MeshSharedPtr p_m) | |
virtual void | Process ()=0 |
void | RegisterConfig (string key, string value) |
void | PrintConfig () |
void | SetDefaults () |
MeshSharedPtr | GetMesh () |
virtual void | ProcessVertices () |
Extract element vertices. |
Static Public Member Functions | |
static boost::shared_ptr< Module > | create (FieldSharedPtr f) |
Creates an instance of this class. |
Static Public Attributes | |
static ModuleKey | className |
Private Member Functions | |
void | InterpolateField (vector< MultiRegions::ExpListSharedPtr > &field0, vector< MultiRegions::ExpListSharedPtr > &field1, Array< OneD, NekDouble > x, Array< OneD, NekDouble > y, Array< OneD, NekDouble > z, NekDouble clamp_low, NekDouble clamp_up, NekDouble def_value) |
Private Attributes | |
FieldSharedPtr | m_fromField |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::Utilities::Module | |
virtual void | ProcessEdges (bool ReprocessEdges=true) |
Extract element edges. | |
virtual void | ProcessFaces (bool ReprocessFaces=true) |
Extract element faces. | |
virtual void | ProcessElements () |
Generate element IDs. | |
virtual void | ProcessComposites () |
Generate composites. | |
void | ReorderPrisms (PerMap &perFaces) |
Reorder node IDs so that prisms and tetrahedra are aligned correctly. | |
void | PrismLines (int prism, PerMap &perFaces, set< int > &prismsDone, vector< ElementSharedPtr > &line) |
Protected Attributes inherited from Nektar::Utilities::Module | |
FieldSharedPtr | m_f |
Field object. | |
map< string, ConfigOption > | m_config |
List of configuration values. | |
bool | m_requireEquiSpaced |
MeshSharedPtr | m_mesh |
Mesh object. |
This processing module interpolates one field to another.
Definition at line 49 of file ProcessInterpField.h.
Nektar::Utilities::ProcessInterpField::ProcessInterpField | ( | FieldSharedPtr | f | ) |
Definition at line 57 of file ProcessInterpField.cpp.
References ASSERTL0, and Nektar::Utilities::Module::m_config.
|
virtual |
Definition at line 80 of file ProcessInterpField.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 53 of file ProcessInterpField.h.
|
private |
Definition at line 262 of file ProcessInterpField.cpp.
References ASSERTL0.
Referenced by Process().
|
virtual |
Write mesh to output file.
Implements Nektar::Utilities::Module.
Definition at line 84 of file ProcessInterpField.cpp.
References ASSERTL0, Nektar::LibUtilities::SessionReader::CreateInstance(), InterpolateField(), Nektar::Utilities::Module::m_config, Nektar::Utilities::Module::m_f, m_fromField, npts, Nektar::LibUtilities::NullFieldMetaDataMap, Nektar::NullNekDouble1DArray, Nektar::SpatialDomains::MeshGraph::Read(), Vmath::Vmax(), and Vmath::Vmin().
|
static |
Definition at line 56 of file ProcessInterpField.h.
|
private |
Definition at line 65 of file ProcessInterpField.h.
Referenced by Process().