|
Cardinal
|
#include <NekVolumeNorm.h>
Public Member Functions | |
| NekVolumeNorm (const InputParameters ¶meters) | |
| virtual Real | getValue () const override |
| virtual void | initialize () override |
| virtual void | execute () override |
| const field::NekFieldEnum & | field () const |
Static Public Member Functions | |
| static InputParameters | validParams () |
Protected Attributes | |
| Real | _N |
| Order of the norm. | |
| const nek_mesh::NekMeshEnum | _pp_mesh |
| Which NekRS mesh to act on. | |
| const NekRSProblem * | _nek_problem |
| The NekRSProblem required by all objects which inherit from NekBase. | |
| const NekRSMesh * | _nek_mesh |
| Underlying NekRSMesh, if present. | |
| const field::NekFieldEnum | _field |
| NekRS solution field. | |
| const Function * | _function |
| Function to shift the field by, if provided by the 'function' parameter. | |
| component::BinnedVelocityComponentEnum | _velocity_component |
| Point | _velocity_direction |
| Direction in which to evaluate velocity, when field = velocity_component. | |
Compute the L$^N$ norm of a NekRS solution field, integrated over the NekRS volume mesh.
Finite values of N compute
(integral |u - f|^N dV)^(1/N).
Setting N = infinity computes
max |u - f|
Note that this calculation is done directly on the mesh that NekRS solves on, not the mesh created for solution transfer in NekRSMesh.
| NekVolumeNorm::NekVolumeNorm | ( | const InputParameters & | parameters | ) |
|
inlineoverridevirtualinherited |
Reimplemented in NekPointValue.
|
inlineinherited |
Get the field
|
overridevirtual |
|
inlineoverridevirtualinherited |
|
static |
|
protectedinherited |
NekRS solution field.
|
protectedinherited |
Function to shift the field by, if provided by the 'function' parameter.
|
protected |
Order of the norm.
|
protectedinherited |
The NekRSProblem 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.