www.mooseframework.org
NSSUPGMass.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 NSSUPGMASS_H
8 #define NSSUPGMASS_H
9 
10 #include "NSSUPGBase.h"
11 
12 // Forward Declarations
13 class NSSUPGMass;
14 
15 template <>
16 InputParameters validParams<NSSUPGMass>();
17 
22 class NSSUPGMass : public NSSUPGBase
23 {
24 public:
25  NSSUPGMass(const InputParameters & parameters);
26 
27 protected:
28  virtual Real computeQpResidual();
29  virtual Real computeQpJacobian();
30  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
31 
32 private:
33  // Single function for computing on and off-diagonal Jacobian
34  // entries in a single function. The input index is in Moose
35  // variable numbering.
36  Real computeJacobianHelper(unsigned var);
37 };
38 
39 #endif // NSSUPGMASS_H
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Definition: NSSUPGMass.C:48
virtual Real computeQpJacobian()
Definition: NSSUPGMass.C:41
Compute residual and Jacobian terms form the SUPG terms in the mass equation.
Definition: NSSUPGMass.h:22
virtual Real computeQpResidual()
Definition: NSSUPGMass.C:23
Real computeJacobianHelper(unsigned var)
Definition: NSSUPGMass.C:54
InputParameters validParams< NSSUPGMass >()
Definition: NSSUPGMass.C:11
This class acts as a base class for stabilization kernels.
Definition: NSSUPGBase.h:23
NSSUPGMass(const InputParameters &parameters)
Definition: NSSUPGMass.C:20