www.mooseframework.org
WeakPlaneStress.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 WEAKPLANESTRESS_H
9 #define WEAKPLANESTRESS_H
10 
11 #include "Kernel.h"
12 
13 class WeakPlaneStress;
14 class RankFourTensor;
15 class RankTwoTensor;
16 
17 template <>
18 InputParameters validParams<WeakPlaneStress>();
19 
20 class WeakPlaneStress : public Kernel
21 {
22 public:
23  WeakPlaneStress(const InputParameters & parameters);
24 
25 protected:
26  virtual Real computeQpResidual() override;
27  virtual Real computeQpJacobian() override;
28  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
29 
30  std::string _base_name;
31 
32  const MaterialProperty<RankTwoTensor> & _stress;
33  const MaterialProperty<RankFourTensor> & _Jacobian_mult;
34 
35  const unsigned int _direction;
36 };
37 #endif // WEAKPLANESTRESS_H
std::string _base_name
virtual Real computeQpJacobian() override
InputParameters validParams< WeakPlaneStress >()
const MaterialProperty< RankFourTensor > & _Jacobian_mult
WeakPlaneStress(const InputParameters &parameters)
const MaterialProperty< RankTwoTensor > & _stress
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const unsigned int _direction
virtual Real computeQpResidual() override