Chi-Tech
|
#include <chi_ffinter_volume.h>
Public Member Functions | |
FieldFunctionInterpolationVolume () | |
std::shared_ptr< chi_mesh::LogicalVolume > & | GetLogicalVolume () |
ff_interpolation::Operation & | GetOperationType () |
std::string & | GetOperationLuaFunction () |
double & | GetOpValue () |
void | Initialize () override |
void | Execute () override |
double | CallLuaFunction (double ff_value, int mat_id) const |
std::string | GetDefaultFileBaseName () const override |
void | ExportPython (std::string base_name) override |
Public Member Functions inherited from chi_mesh::FieldFunctionInterpolation | |
FieldFunctionInterpolation (ff_interpolation::Type type) | |
std::vector< chi_physics::FieldFunctionGridBasedPtr > & | GetFieldFunctions () |
ff_interpolation::Type | Type () const |
virtual void | Initialize () |
virtual void | Execute () |
virtual std::string | GetDefaultFileBaseName () const =0 |
virtual void | ExportPython (std::string base_name)=0 |
Protected Attributes | |
std::shared_ptr< chi_mesh::LogicalVolume > | logical_volume_ = nullptr |
ff_interpolation::Operation | op_type_ = ff_interpolation::Operation::OP_SUM |
std::string | op_lua_func_ |
double | op_value_ = 0.0 |
Protected Attributes inherited from chi_mesh::FieldFunctionInterpolation | |
ff_interpolation::Type | type_ |
unsigned int | ref_component_ = 0 |
std::vector< chi_physics::FieldFunctionGridBasedPtr > | field_functions_ |
Private Attributes | |
std::vector< uint64_t > | cell_local_ids_inside_logvol_ |
Volume-wise field function interpolation.
This interpolator allows the user to obtain quantities by logical volume. If no logical volume is assigned to the method it will default to operating over the entire volume.
The method also supports a few primitive operations:
Definition at line 21 of file chi_ffinter_volume.h.
|
inline |
Definition at line 34 of file chi_ffinter_volume.h.
double chi_mesh::FieldFunctionInterpolationVolume::CallLuaFunction | ( | double | ff_value, |
int | mat_id | ||
) | const |
Calls the designated lua function
Definition at line 8 of file chi_ffinter_volume_calllua.cc.
|
overridevirtual |
Executes the volume interpolation.
Reimplemented from chi_mesh::FieldFunctionInterpolation.
Definition at line 11 of file chi_ffinter_volume_execute.cc.
|
inlineoverridevirtual |
Implements chi_mesh::FieldFunctionInterpolation.
Definition at line 56 of file chi_ffinter_volume.h.
|
inlineoverridevirtual |
Implements chi_mesh::FieldFunctionInterpolation.
Definition at line 54 of file chi_ffinter_volume.h.
|
inline |
Definition at line 38 of file chi_ffinter_volume.h.
|
inline |
Definition at line 42 of file chi_ffinter_volume.h.
|
inline |
Definition at line 40 of file chi_ffinter_volume.h.
|
inline |
Definition at line 44 of file chi_ffinter_volume.h.
|
overridevirtual |
Initializes the volume field function interpolation.
Reimplemented from chi_mesh::FieldFunctionInterpolation.
Definition at line 12 of file chi_ffinter_volume_initialize.cc.
|
private |
Definition at line 31 of file chi_ffinter_volume.h.
|
protected |
Definition at line 25 of file chi_ffinter_volume.h.
|
protected |
Definition at line 27 of file chi_ffinter_volume.h.
|
protected |
Definition at line 26 of file chi_ffinter_volume.h.
|
protected |
Definition at line 28 of file chi_ffinter_volume.h.