www.mooseframework.org
PhaseFieldFractureMechanicsOffDiag.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 PHASEFIELDFRACTUREMECHANICSOFFDIAG_H
8 #define PHASEFIELDFRACTUREMECHANICSOFFDIAG_H
9 
10 #include "Kernel.h"
11 #include "RankTwoTensor.h"
12 #include "DerivativeMaterialInterface.h"
13 
21 class RankTwoTensor;
22 
23 template <>
25 
26 class PhaseFieldFractureMechanicsOffDiag : public DerivativeMaterialInterface<Kernel>
27 {
28 public:
29  PhaseFieldFractureMechanicsOffDiag(const InputParameters & parameters);
30 
31 protected:
32  Real computeQpResidual() override { return 0.0; }
33 
34  Real computeQpJacobian() override { return 0.0; }
35 
36  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
37 
38  std::string _base_name;
39  const unsigned int _component;
40 
41  const bool _c_coupled;
42  const unsigned int _c_var;
43  const MaterialProperty<RankTwoTensor> & _d_stress_dc;
44 };
45 
46 #endif // PHASEFIELDFRACTUREMECHANICSOFFDIAG_H
const MaterialProperty< RankTwoTensor > & _d_stress_dc
InputParameters validParams< PhaseFieldFractureMechanicsOffDiag >()
PhaseFieldFractureMechanicsOffDiag(const InputParameters &parameters)
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override