Cardinal
|
#include <NekTransferBase.h>
Public Member Functions | |
NekTransferBase (const InputParameters ¶meters) | |
virtual void | sendDataToNek () |
Send data to Nek. More... | |
virtual void | readDataFromNek () |
Read data from Nek. More... | |
const MooseEnum & | direction () const |
Get the direction of the transfer. More... | |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Member Functions | |
void | addExternalPostprocessor (const std::string name, const Real initial) |
void | checkAllocatedUsrwrkSlot (const unsigned int &u) const |
Protected Attributes | |
NekRSProblem & | _nek_problem |
The NekRSProblem using the field transfer interface. More... | |
NekRSMesh * | _nek_mesh |
The underlying NekRSMesh mirror. More... | |
const MooseEnum & | _direction |
Direction of the transfer. More... | |
Base class for facilitating a data transfer between MOOSE and the NekRS code internals.
NekTransferBase::NekTransferBase | ( | const InputParameters & | parameters | ) |
|
protected |
Add a postprocessor to facilitate coupling
[in] | name | postprocessor name |
[in] | initial | initial value to use for the postprocessor |
|
protected |
Check if a specified slot in the usrwrk array has been allocated
[in] | u | slice in usrwrk array |
|
inline |
Get the direction of the transfer.
|
inlinevirtual |
Read data from Nek.
Reimplemented in NekBoundaryFlux, and NekFieldVariable.
|
inlinevirtual |
Send data to Nek.
Reimplemented in NekBoundaryFlux, NekVolumetricSource, NekFieldVariable, NekMeshDeformation, NekPostprocessorValue, and NekScalarValue.
|
static |
|
protected |
Direction of the transfer.
|
protected |
The NekRSProblem using the field transfer interface.