www.mooseframework.org
NeighborMooseVariableInterface.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 
12 #include "MooseVariableInterface.h"
13 #include "MooseVariableBase.h"
14 
19 template <typename T>
21 {
22 public:
29  const MooseObject * moose_object,
30  bool nodal,
33 
35 
36 protected:
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 
72  virtual const typename OutputTools<T>::VariableGradient & neighborGradientOld();
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 
111  virtual const typename OutputTools<T>::VariableTestSecond & neighborSecondTest();
112 
118  virtual const typename OutputTools<T>::VariablePhiSecond & neighborSecondPhi();
119 };
VarFieldType
Definition: MooseTypes.h:634
virtual const OutputTools< T >::VariablePhiSecond & neighborSecondPhi()
The second derivative of the neighbor&#39;s shape function.
virtual const OutputTools< T >::VariableGradient & neighborGradient()
The gradient of the variable this object is operating on evaluated on the "neighbor" element...
NeighborMooseVariableInterface(const MooseObject *moose_object, bool nodal, Moose::VarKindType expected_var_type=Moose::VarKindType::VAR_ANY, Moose::VarFieldType expected_var_field_type=Moose::VarFieldType::VAR_FIELD_STANDARD)
Constructing the object.
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 >::VariableSecond & neighborSecond()
The second derivative of the variable this object is operating on evaluated on the "neighbor" element...
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...
Every object that can be built by the factory should be derived from this class.
Definition: MooseObject.h:33
virtual const OutputTools< T >::VariableSecond & neighborSecondOlder()
The older second derivative of the variable this object is operating on evaluated on the "neighbor" e...
VarKindType
Framework-wide stuff.
Definition: MooseTypes.h:627
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&#39;s test function.
virtual const OutputTools< T >::VariableValue & neighborValueOld()
The old value of the variable this object is operating on evaluated on the "neighbor" element...
Interface for objects that need to get values of MooseVariables.
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...