www.mooseframework.org
LaplacianSplit.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 LAPLACIANSPLIT_H
9 #define LAPLACIANSPLIT_H
10 
11 #include "KernelGrad.h"
12 
13 // Forward Declarations
14 class LaplacianSplit;
15 
16 template <>
17 InputParameters validParams<LaplacianSplit>();
18 
22 class LaplacianSplit : public KernelGrad
23 {
24 public:
25  LaplacianSplit(const InputParameters & parameters);
26 
27 protected:
28  virtual RealGradient precomputeQpResidual();
29  virtual RealGradient precomputeQpJacobian();
30  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
31 
32 private:
33  const unsigned int _var_c;
34  const VariableGradient & _grad_c;
35 };
36 
37 #endif // LAPLACIANSPLIT_H
virtual RealGradient precomputeQpJacobian()
const VariableGradient & _grad_c
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
InputParameters validParams< LaplacianSplit >()
LaplacianSplit(const InputParameters &parameters)
virtual RealGradient precomputeQpResidual()
Split with a variable that holds the Laplacian of the phase field.
const unsigned int _var_c