www.mooseframework.org
CoefDiffusion.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 COEFDIFFUSION_H
8 #define COEFDIFFUSION_H
9 
10 #include "Kernel.h"
11 #include "Function.h"
12 
13 // Forward Declarations
14 class CoefDiffusion;
15 
16 template <>
17 InputParameters validParams<CoefDiffusion>();
18 
19 class CoefDiffusion : public Kernel
20 {
21 public:
22  CoefDiffusion(const InputParameters & parameters);
23 
24 protected:
25  virtual Real computeQpResidual();
26  virtual Real computeQpJacobian();
27 
28 private:
29  const Real _coef;
30  Function * const _func;
31 };
32 
33 #endif // COEFDIFFUSION_H
CoefDiffusion(const InputParameters &parameters)
Definition: CoefDiffusion.C:23
virtual Real computeQpJacobian()
Definition: CoefDiffusion.C:42
virtual Real computeQpResidual()
Definition: CoefDiffusion.C:31
const Real _coef
Definition: CoefDiffusion.h:29
InputParameters validParams< CoefDiffusion >()
Definition: CoefDiffusion.C:11
Function *const _func
Definition: CoefDiffusion.h:30