#include <NekPointValue.h>
Public Member Functions | |
NekPointValue (const InputParameters ¶meters) | |
virtual Real | getValue () const override |
virtual void | execute () override |
virtual void | initialize () override |
const field::NekFieldEnum & | field () const |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Attributes | |
const Point & | _point |
Point where the field will be evaluated. | |
Real | _value |
The value of the variable at the desired location. | |
const nek_mesh::NekMeshEnum | _pp_mesh |
Which NekRS mesh to act on. | |
const NekRSProblemBase * | _nek_problem |
The NekRSProblemBase required by all objects which inherit from NekBase. | |
const NekRSMesh * | _nek_mesh |
Underlying NekRSMesh, if present. | |
const field::NekFieldEnum | _field |
NekRS solution field. | |
component::BinnedVelocityComponentEnum | _velocity_component |
Point | _velocity_direction |
Direction in which to evaluate velocity, when field = velocity_component. | |
Interpolate a NekRS solution field onto a point, using NekRS's pointInterpolation. The provided point does not need to be a grid point; interpolation happens on GPU.
NOTE: NekRS does not provide an interface to capture any errors if a point provided is not actually contained. They only print to the console. Any point specified, but which is outside the mesh, will silently return zero.
NekPointValue::NekPointValue | ( | const InputParameters & | parameters | ) |
|
overridevirtual |
Reimplemented from NekFieldPostprocessor.
|
inlineinherited |
Get the field
|
overridevirtual |
|
inlineoverridevirtualinherited |
|
static |
|
protectedinherited |
NekRS solution field.
|
protectedinherited |
The NekRSProblemBase required by all objects which inherit from NekBase.
|
protected |
Point where the field will be evaluated.
|
protectedinherited |
Which NekRS mesh to act on.
|
protected |
The value of the variable at the desired location.
|
protectedinherited |
Direction in which to evaluate velocity, if using 'field = velocity_component'. Options: user (then provide a general vector direction with the 'velocity_direction' parameter normal (normal to an interface, context dependent on daughter class)
|
protectedinherited |
Direction in which to evaluate velocity, when field = velocity_component.