www.mooseframework.org
NeighborMooseVariableInterface.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef NEIGHBORMOOSEVARIABLEINTERFACE_H
16 #define NEIGHBORMOOSEVARIABLEINTERFACE_H
17 
18 #include "MooseVariableInterface.h"
19 #include "MooseVariableBase.h"
20 
26 {
27 public:
33  NeighborMooseVariableInterface(const MooseObject * moose_object, bool nodal);
34 
36 
37 protected:
43  virtual const VariableValue & neighborValue();
44 
50  virtual const VariableValue & neighborValueOld();
51 
58  virtual const VariableValue & neighborValueOlder();
59 
65  virtual const VariableGradient & neighborGradient();
66 
73  virtual const VariableGradient & neighborGradientOld();
74 
81  virtual const VariableGradient & neighborGradientOlder();
82 
89  virtual const VariableSecond & neighborSecond();
90 
97  virtual const VariableSecond & neighborSecondOld();
98 
105  virtual const VariableSecond & neighborSecondOlder();
106 
112  virtual const VariableTestSecond & neighborSecondTest();
113 
119  virtual const VariablePhiSecond & neighborSecondPhi();
120 };
121 
122 #endif /* NEIGHBORMOOSEVARIABLEINTERFACE_H */
virtual const VariableGradient & neighborGradientOlder()
The older gradient of the variable this object is operating on evaluated on the "neighbor" element...
virtual const VariableGradient & neighborGradient()
The gradient of the variable this object is operating on evaluated on the "neighbor" element...
virtual const VariableValue & neighborValueOlder()
The older value of the variable this object is operating on evaluated on the "neighbor" element...
virtual const VariablePhiSecond & neighborSecondPhi()
The second derivative of the neighbor's shape function.
Enhances MooseVariableInterface interface provide values from neighbor elements.
virtual const VariableGradient & neighborGradientOld()
The old gradient of the variable this object is operating on evaluated on the "neighbor" element...
virtual const VariableSecond & neighborSecondOld()
The old second derivative of the variable this object is operating on evaluated on the "neighbor" ele...
Every object that can be built by the factory should be derived from this class.
Definition: MooseObject.h:36
virtual const VariableSecond & neighborSecond()
The second derivative of the variable this object is operating on evaluated on the "neighbor" element...
virtual const VariableSecond & neighborSecondOlder()
The older second derivative of the variable this object is operating on evaluated on the "neighbor" e...
NeighborMooseVariableInterface(const MooseObject *moose_object, bool nodal)
Constructing the object.
virtual const VariableValue & neighborValue()
The value of the variable this object is operating on evaluated on the "neighbor" element...
virtual const VariableValue & neighborValueOld()
The old value of the variable this object is operating on evaluated on the "neighbor" element...
virtual const VariableTestSecond & neighborSecondTest()
The second derivative of the neighbor's test function.
Interface for objects that need to get values of MooseVariables.