www.mooseframework.org
DGDiffusion.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 DGDIFFUSION_H
16 #define DGDIFFUSION_H
17 
18 #include "DGKernel.h"
19 
20 // Forward Declarations
21 class DGDiffusion;
22 
23 template <>
25 
36 class DGDiffusion : public DGKernel
37 {
38 public:
40 
41 protected:
42  virtual Real computeQpResidual(Moose::DGResidualType type) override;
43  virtual Real computeQpJacobian(Moose::DGJacobianType type) override;
44 
45  Real _epsilon;
46  Real _sigma;
49 };
50 
51 #endif
DG kernel for diffusion.
Definition: DGDiffusion.h:36
Real _epsilon
Definition: DGDiffusion.h:45
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
DGResidualType
Definition: MooseTypes.h:184
InputParameters validParams< DGDiffusion >()
Definition: DGDiffusion.C:24
The DGKernel class is responsible for calculating the residuals for various physics on internal sides...
Definition: DGKernel.h:47
const MaterialProperty< Real > & _diff_neighbor
Definition: DGDiffusion.h:48
virtual Real computeQpResidual(Moose::DGResidualType type) override
This is the virtual that derived classes should override for computing the residual on neighboring el...
Definition: DGDiffusion.C:45
DGJacobianType
Definition: MooseTypes.h:190
MatType type
DGDiffusion(const InputParameters &parameters)
Definition: DGDiffusion.C:35
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
virtual Real computeQpJacobian(Moose::DGJacobianType type) override
This is the virtual that derived classes should override for computing the Jacobian on neighboring el...
Definition: DGDiffusion.C:78
const MaterialProperty< Real > & _diff
Definition: DGDiffusion.h:47