Cardinal
|
#include <NekScalarValue.h>
Public Member Functions | |
NekScalarValue (const InputParameters ¶meters) | |
virtual void | execute () override |
We don't want this user object to execute in MOOSE's control. More... | |
virtual void | initialize () override |
virtual void | finalize () override |
virtual void | setValue () |
Instead, we want to have a separate method that we can call from NekRSProblemBase. More... | |
Real | getValue () const |
virtual unsigned int | usrwrkSlot () const |
virtual void | setCounter (const unsigned int &counter) |
virtual const unsigned int & | counter () const |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Attributes | |
const Real & | _value |
The value to send into NekRS. More... | |
const Real & | _scaling |
A multiplier to apply to 'value'. More... | |
unsigned int | _usrwrk_slot |
Slot in usrwrk to write the scalar value. More... | |
unsigned int | _counter |
Counter of this object, to be set by NekRSProblem. More... | |
Opaque user object which will send a scalar value into NekRS through its scratch space. The user then has infinite flexibility to use that value in the NekRS case files.
NekScalarValue::NekScalarValue | ( | const InputParameters & | parameters | ) |
|
inlinevirtual |
Get the index in usrwrk for which this scalar value is held
|
inlineoverridevirtual |
We don't want this user object to execute in MOOSE's control.
|
inlineoverridevirtual |
Real NekScalarValue::getValue | ( | ) | const |
Get the value currently held by this user object
|
inlineoverridevirtual |
|
inlinevirtual |
|
virtual |
Instead, we want to have a separate method that we can call from NekRSProblemBase.
|
inlinevirtual |
|
static |
|
protected |
Counter of this object, to be set by NekRSProblem.
|
protected |
A multiplier to apply to 'value'.
|
protected |
Slot in usrwrk to write the scalar value.
|
protected |
The value to send into NekRS.