#include <ConservativeFieldTransfer.h>
◆ ConservativeFieldTransfer()
ConservativeFieldTransfer::ConservativeFieldTransfer |
( |
const InputParameters & |
parameters | ) |
|
◆ addExternalPostprocessor()
void NekTransferBase::addExternalPostprocessor |
( |
const std::string |
name, |
|
|
const Real |
initial |
|
) |
| |
|
protectedinherited |
Add a postprocessor to facilitate coupling
- Parameters
-
[in] | name | postprocessor name |
[in] | initial | initial value to use for the postprocessor |
◆ addExternalVariable() [1/2]
void FieldTransferBase::addExternalVariable |
( |
const std::string |
name | ) |
|
|
protectedinherited |
Add a MOOSE variable to facilitate coupling
- Parameters
-
◆ addExternalVariable() [2/2]
void FieldTransferBase::addExternalVariable |
( |
const unsigned int |
slot, |
|
|
const std::string |
name |
|
) |
| |
|
protectedinherited |
Add a MOOSE variable to facilitate coupling
- Parameters
-
[in] | slot | slot in usrwrk array holding this field |
[in] | name | variable name |
◆ checkAllocatedUsrwrkSlot()
void NekTransferBase::checkAllocatedUsrwrkSlot |
( |
const unsigned int & |
u | ) |
const |
|
protectedinherited |
Check if a specified slot in the usrwrk array has been allocated
- Parameters
-
[in] | u | slice in usrwrk array |
◆ direction()
const MooseEnum& NekTransferBase::direction |
( |
| ) |
const |
|
inlineinherited |
Get the direction of the transfer.
◆ fillAuxVariable()
void FieldTransferBase::fillAuxVariable |
( |
const unsigned int |
var_number, |
|
|
const double * |
value |
|
) |
| |
|
protectedinherited |
Fill an outgoing auxiliary variable field with nekRS solution data
- Parameters
-
[in] | var_number | auxiliary variable number |
[in] | value | nekRS solution data to fill the variable with |
◆ normalizationHint()
std::string ConservativeFieldTransfer::normalizationHint |
( |
| ) |
const |
|
protected |
Return a string to print in error messages upon failed normalizations
- Returns
- debugging hint
◆ readDataFromNek()
virtual void NekTransferBase::readDataFromNek |
( |
| ) |
|
|
inlinevirtualinherited |
◆ sendDataToNek()
virtual void NekTransferBase::sendDataToNek |
( |
| ) |
|
|
inlinevirtualinherited |
◆ usrwrkMap()
static std::map<unsigned int, std::string> FieldTransferBase::usrwrkMap |
( |
| ) |
|
|
inlinestaticinherited |
Get the mapping of usrwrk slots to variable names for all field transfers
- Returns
- map ordered as (slot number, name)
◆ validParams()
static InputParameters ConservativeFieldTransfer::validParams |
( |
| ) |
|
|
static |
◆ _abs_tol
const Real& ConservativeFieldTransfer::_abs_tol |
|
protected |
Absolute tolerance for checking conservation.
◆ _direction
const MooseEnum& NekTransferBase::_direction |
|
protectedinherited |
Direction of the transfer.
◆ _external_data
double* FieldTransferBase::_external_data = nullptr |
|
protectedinherited |
Scratch space to place external NekRS fields before writing into auxiliary variables.
◆ _field_usrwrk_map
std::map<unsigned int, std::string> FieldTransferBase::_field_usrwrk_map |
|
staticprotectedinherited |
Information about data stored in the usrwrk array for error checking and diagnostics; stored as (slot, variable name in MOOSE)
◆ _n_per_surf
int FieldTransferBase::_n_per_surf |
|
protectedinherited |
Number of points on the MOOSE mesh to write per element surface.
◆ _n_per_vol
int FieldTransferBase::_n_per_vol |
|
protectedinherited |
Number of points on the MOOSE mesh to write per element volume.
◆ _nek_mesh
◆ _nek_problem
◆ _postprocessor_name
std::string ConservativeFieldTransfer::_postprocessor_name |
|
protected |
Name of the postprocessor/vectorpostprocessor used to apply conservation.
◆ _rel_tol
const Real& ConservativeFieldTransfer::_rel_tol |
|
protected |
Relative tolerance for checking conservation.
◆ _usrwrk_slot
std::vector<unsigned int> FieldTransferBase::_usrwrk_slot |
|
protectedinherited |
Slot in usrwrk array to use for writing data, if 'direction = to_nek'.
◆ _v_elem
double* FieldTransferBase::_v_elem = nullptr |
|
protectedinherited |
MOOSE data interpolated onto the (volume) data transfer mesh.
◆ _v_face
double* FieldTransferBase::_v_face = nullptr |
|
protectedinherited |
MOOSE data interpolated onto the (boundary) data transfer mesh.
◆ _variable
std::string FieldTransferBase::_variable |
|
protectedinherited |
Variable name (or prefix of names) to create in MOOSE to facilitate data passing.
◆ _variable_number
std::map<std::string, unsigned int> FieldTransferBase::_variable_number |
|
protectedinherited |
Internal number for the variable(s) created in MOOSE (name, number)
The documentation for this class was generated from the following file: