https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NeighborMooseVariableInterface.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
13#include "MooseVariableBase.h"
14
19template <typename T>
21{
22public:
29 const MooseObject * moose_object,
30 bool nodal,
33
35
36protected:
42 virtual const typename OutputTools<T>::VariableValue & neighborValue();
43
49 virtual const typename OutputTools<T>::VariableValue & neighborValueOld();
50
57 virtual const typename OutputTools<T>::VariableValue & neighborValueOlder();
58
64 virtual const typename OutputTools<T>::VariableGradient & neighborGradient();
65
73
81
88 virtual const typename OutputTools<T>::VariableSecond & neighborSecond();
89
96 virtual const typename OutputTools<T>::VariableSecond & neighborSecondOld();
97
104 virtual const typename OutputTools<T>::VariableSecond & neighborSecondOlder();
105
112
118 virtual const typename OutputTools<T>::VariablePhiSecond & neighborSecondPhi();
119};
forward declarations
Definition MooseArray.h:18
Every object that can be built by the factory should be derived from this class.
Definition MooseObject.h:31
Interface for objects that need to get values of MooseVariables.
Enhances MooseVariableInterface interface provide values from neighbor elements.
virtual const OutputTools< T >::VariableGradient & neighborGradientOlder()
The older gradient of the variable this object is operating on evaluated on the "neighbor" element.
virtual const OutputTools< T >::VariableSecond & neighborSecondOlder()
The older second derivative of the variable this object is operating on evaluated on the "neighbor" e...
virtual const OutputTools< T >::VariableValue & neighborValue()
The value of the variable this object is operating on evaluated on the "neighbor" element.
virtual const OutputTools< T >::VariableValue & neighborValueOlder()
The older value of the variable this object is operating on evaluated on the "neighbor" element.
virtual const OutputTools< T >::VariableGradient & neighborGradientOld()
The old gradient of the variable this object is operating on evaluated on the "neighbor" element.
virtual const OutputTools< T >::VariableValue & neighborValueOld()
The old value of the variable this object is operating on evaluated on the "neighbor" element.
virtual const OutputTools< T >::VariableSecond & neighborSecondOld()
The old second derivative of the variable this object is operating on evaluated on the "neighbor" ele...
virtual const OutputTools< T >::VariableTestSecond & neighborSecondTest()
The second derivative of the neighbor's test function.
virtual const OutputTools< T >::VariableGradient & neighborGradient()
The gradient of the variable this object is operating on evaluated on the "neighbor" element.
virtual const OutputTools< T >::VariableSecond & neighborSecond()
The second derivative of the variable this object is operating on evaluated on the "neighbor" element...
virtual const OutputTools< T >::VariablePhiSecond & neighborSecondPhi()
The second derivative of the neighbor's shape function.
@ VAR_FIELD_STANDARD
Definition MooseTypes.h:777
VarKindType
Framework-wide stuff.
Definition MooseTypes.h:769
@ VAR_ANY
Definition MooseTypes.h:772