Cardinal
Loading...
Searching...
No Matches
NekFieldInterface.h
Go to the documentation of this file.
1#pragma once
2
3#include "InputParameters.h"
4#include "MooseObject.h"
5#include "CardinalEnums.h"
6#include "FunctionInterface.h"
7
8class NekFieldInterface : public FunctionInterface
9{
10public:
11 static InputParameters validParams();
12
13 NekFieldInterface(const MooseObject * moose_object,
14 const InputParameters & parameters,
15 const bool allow_normal = false);
16
21 const field::NekFieldEnum & field() const { return _field; }
22
23protected:
26
28 const Function * _function;
29
36
39};
Definition NekFieldInterface.h:9
const Function * _function
Function to shift the field by, if provided by the 'function' parameter.
Definition NekFieldInterface.h:28
NekFieldInterface(const MooseObject *moose_object, const InputParameters &parameters, const bool allow_normal=false)
static InputParameters validParams()
Point _velocity_direction
Direction in which to evaluate velocity, when field = velocity_component.
Definition NekFieldInterface.h:38
const field::NekFieldEnum _field
NekRS solution field.
Definition NekFieldInterface.h:25
component::BinnedVelocityComponentEnum _velocity_component
Definition NekFieldInterface.h:35
const field::NekFieldEnum & field() const
Definition NekFieldInterface.h:21
BinnedVelocityComponentEnum
Directions in which to evaluate velocity.
Definition CardinalEnums.h:86
NekFieldEnum
Enumeration of possible fields to read from nekRS.
Definition CardinalEnums.h:96