www.mooseframework.org
DGFunctionDiffusionDirichletBC.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 DGFUNCTIONDIFFUSIONDIRICHLETBC_H
16 #define DGFUNCTIONDIFFUSIONDIRICHLETBC_H
17 
18 #include "IntegratedBC.h"
19 
20 // Forward Declarations
22 
23 template <>
25 
37 {
38 public:
44 
45 protected:
46  virtual Real computeQpResidual() override;
47  virtual Real computeQpJacobian() override;
48 
49 private:
51 
52  Real _epsilon;
53  Real _sigma;
55 };
56 
57 #endif // DGFUNCTIONDIFFUSIONDIRICHLETBC_H
Base class for function objects.
Definition: Function.h:46
DGFunctionDiffusionDirichletBC(const InputParameters &parameters)
Factory constructor, takes parameters so that all derived classes can be built using the same constru...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const MaterialProperty< Real > & _diff
Base class for deriving any boundary condition of a integrated type.
Definition: IntegratedBC.h:33
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
InputParameters validParams< DGFunctionDiffusionDirichletBC >()