www.mooseframework.org
PFFracCoupledInterface.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 PFFRACCOUPLEDINTERFACE_H
8 #define PFFRACCOUPLEDINTERFACE_H
9 
10 #include "KernelGrad.h"
11 
12 // Forward Declarations
14 
15 template <>
16 InputParameters validParams<PFFracCoupledInterface>();
17 
24 class PFFracCoupledInterface : public KernelGrad
25 {
26 public:
27  PFFracCoupledInterface(const InputParameters & parameters);
28 
29 protected:
30  virtual RealGradient precomputeQpResidual();
31  virtual RealGradient precomputeQpJacobian();
32  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
33 
34  const VariableValue & _c;
35  const VariableGradient & _grad_c;
36  unsigned int _c_var;
37 };
38 
39 #endif // PFFRACCOUPLEDINTERFACE_H
Phase-field fracture model This class computes the contribution to residual and jacobian of the varia...
virtual RealGradient precomputeQpJacobian()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
virtual RealGradient precomputeQpResidual()
PFFracCoupledInterface(const InputParameters &parameters)
const VariableGradient & _grad_c
InputParameters validParams< PFFracCoupledInterface >()
const VariableValue & _c