www.mooseframework.org
NSGravityForce.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 NSGRAVITYFORCE_H
8 #define NSGRAVITYFORCE_H
9 
10 #include "NSKernel.h"
11 
12 // Forward Declarations
13 class NSGravityForce;
14 
15 template <>
16 InputParameters validParams<NSGravityForce>();
17 
18 class NSGravityForce : public NSKernel
19 {
20 public:
21  NSGravityForce(const InputParameters & parameters);
22 
23 protected:
24  virtual Real computeQpResidual();
25  virtual Real computeQpJacobian();
26  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
27 
28  const Real _acceleration;
29 };
30 
31 #endif // NSGRAVITYFORCE_H
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
Definition: NSKernel.h:27
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
virtual Real computeQpJacobian()
NSGravityForce(const InputParameters &parameters)
InputParameters validParams< NSGravityForce >()
virtual Real computeQpResidual()
const Real _acceleration