#include <NekVolumeIntegral.h>
Public Member Functions | |
NekVolumeIntegral (const InputParameters ¶meters) | |
virtual Real | getValue () const override |
Real | getIntegralOnMesh (const nek_mesh::NekMeshEnum &mesh) const |
Real | volume () const |
virtual void | initialize () override |
virtual void | execute () override |
const field::NekFieldEnum & | field () const |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Attributes | |
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. | |
Compute the integral of a specified quantity over the scalar nekRS mesh, \int_\Omega f d\Omega, where f is the field to be integrated, and \Omega is the volume.
Note that this calculation is done directly on the mesh that nekRS solves on, not the mesh created for solution transfer in NekRSMesh.
NekVolumeIntegral::NekVolumeIntegral | ( | const InputParameters & | parameters | ) |
|
inlineoverridevirtualinherited |
Reimplemented in NekPointValue.
|
inlineinherited |
Get the field
Real NekVolumeIntegral::getIntegralOnMesh | ( | const nek_mesh::NekMeshEnum & | mesh | ) | const |
Integrate the field over the specified mesh
[in] | mesh | mesh |
|
overridevirtual |
Reimplemented in NekVolumeAverage.
|
inlineoverridevirtualinherited |
|
static |
Real NekVolumeIntegral::volume | ( | ) | const |
Volume by which to normalize
|
protectedinherited |
NekRS solution field.
|
protectedinherited |
The NekRSProblemBase required by all objects which inherit from NekBase.
|
protectedinherited |
Which NekRS mesh to act on.
|
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.