Passes postprocessor values between NekRS and MOOSE.
More...
#include <NekPostprocessorValue.h>
|
static std::map< unsigned int, unsigned int > | _counter |
|
Passes postprocessor values between NekRS and MOOSE.
◆ NekPostprocessorValue()
NekPostprocessorValue::NekPostprocessorValue |
( |
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 |
◆ 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.
◆ offset()
const unsigned int ScalarTransferBase::offset |
( |
| ) |
const |
|
inlineinherited |
Get the offset in the slot where the single value is written
- Returns
- offset
◆ readDataFromNek()
virtual void NekTransferBase::readDataFromNek |
( |
| ) |
|
|
inlinevirtualinherited |
◆ sendDataToNek()
virtual void NekPostprocessorValue::sendDataToNek |
( |
| ) |
|
|
overridevirtual |
◆ usrwrkSlot()
const unsigned int ScalarTransferBase::usrwrkSlot |
( |
| ) |
const |
|
inlineinherited |
Get the usrwrk slot that this transfer is using
- Returns
- usrwrk slot
◆ validParams()
static InputParameters NekPostprocessorValue::validParams |
( |
| ) |
|
|
static |
◆ _counter
std::map<unsigned int, unsigned int> ScalarTransferBase::_counter |
|
staticprotectedinherited |
To allow multiple scalar numbers to be written into the same usrwrk slot (for memory efficiency), we allow multiple ScalarTransfers to write into the same slot. They are written by automatically incrementing each one by 1; this static variable keeps track of the last used offset in a given slot. Ordered as (usrwrk slot, last occupied entry)
◆ _direction
const MooseEnum& NekTransferBase::_direction |
|
protectedinherited |
Direction of the transfer.
◆ _nek_mesh
◆ _nek_problem
◆ _offset
unsigned int ScalarTransferBase::_offset |
|
protectedinherited |
Offset in the slot to write the scalar value.
◆ _postprocessor
const PostprocessorValue* NekPostprocessorValue::_postprocessor = nullptr |
|
protected |
Postprocessor used to send values into NekRS.
◆ _scaling
const Real& ScalarTransferBase::_scaling |
|
protectedinherited |
A multiplier to apply to the value passed in.
◆ _usrwrk_slot
unsigned int ScalarTransferBase::_usrwrk_slot |
|
protectedinherited |
Slot in usrwrk to write the scalar value.
The documentation for this class was generated from the following file: