www.mooseframework.org
AEFVKernel.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 
8 #ifndef AEFVKERNEL_H
9 #define AEFVKERNEL_H
10 
11 #include "DGKernel.h"
12 #include "InternalSideFluxBase.h"
13 
14 class AEFVKernel;
15 
16 template <>
17 InputParameters validParams<AEFVKernel>();
18 
42 class AEFVKernel : public DGKernel
43 {
44 public:
45  AEFVKernel(const InputParameters & parameters);
46  virtual ~AEFVKernel();
47 
48 protected:
49  virtual Real computeQpResidual(Moose::DGResidualType type);
50  virtual Real computeQpJacobian(Moose::DGJacobianType type);
51 
53  MooseEnum _component;
54 
55  // "1" denotes the "left" state
56  // "2" denotes the "right" state
57 
59  const VariableValue & _uc1;
60  const VariableValue & _uc2;
61 
63  const MaterialProperty<Real> & _u1;
64  const MaterialProperty<Real> & _u2;
65 
68 };
69 
70 #endif
virtual Real computeQpJacobian(Moose::DGJacobianType type)
Definition: AEFVKernel.C:64
const InternalSideFluxBase & _flux
flux user object
Definition: AEFVKernel.h:67
const MaterialProperty< Real > & _u2
Definition: AEFVKernel.h:64
const MaterialProperty< Real > & _u1
extrapolated variable values at side center
Definition: AEFVKernel.h:63
A dgkernel for the advection equation using a cell-centered finite volume method. ...
Definition: AEFVKernel.h:42
const VariableValue & _uc1
piecewise constant variable values in cells
Definition: AEFVKernel.h:59
AEFVKernel(const InputParameters &parameters)
Definition: AEFVKernel.C:24
const VariableValue & _uc2
Definition: AEFVKernel.h:60
MooseEnum _component
choose an equation
Definition: AEFVKernel.h:53
virtual Real computeQpResidual(Moose::DGResidualType type)
Definition: AEFVKernel.C:38
A base class for computing and caching internal side flux.
InputParameters validParams< AEFVKernel >()
Definition: AEFVKernel.C:12
virtual ~AEFVKernel()
Definition: AEFVKernel.C:35