www.mooseframework.org
NSVelocityAux.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef NSVELOCITYAUX_H
8 #define NSVELOCITYAUX_H
9 
10 #include "AuxKernel.h"
11 
12 // Forward Declarations
13 class NSVelocityAux;
14 
15 template <>
16 InputParameters validParams<NSVelocityAux>();
17 
21 class NSVelocityAux : public AuxKernel
22 {
23 public:
28  NSVelocityAux(const InputParameters & parameters);
29 
30  virtual ~NSVelocityAux() {}
31 
32 protected:
33  virtual Real computeValue();
34 
35  const VariableValue & _rho;
36  const VariableValue & _momentum;
37 };
38 
39 #endif // VELOCITYAUX_H
virtual ~NSVelocityAux()
Definition: NSVelocityAux.h:30
Velocity auxiliary value.
Definition: NSVelocityAux.h:21
const VariableValue & _momentum
Definition: NSVelocityAux.h:36
InputParameters validParams< NSVelocityAux >()
Definition: NSVelocityAux.C:14
const VariableValue & _rho
Definition: NSVelocityAux.h:35
NSVelocityAux(const InputParameters &parameters)
Factory constructor, takes parameters so that all derived classes can be built using the same constru...
Definition: NSVelocityAux.C:23
virtual Real computeValue()
Definition: NSVelocityAux.C:29