www.mooseframework.org
GBDependentTensorBase.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 GBDEPENDENTTENSORBASE_H
8 #define GBDEPENDENTTENSORBASE_H
9 
10 #include "Material.h"
11 #include "DerivativeMaterialInterface.h"
12 #include "RankTwoTensor.h"
13 
15 
16 template <>
17 InputParameters validParams<GBDependentTensorBase>();
21 class GBDependentTensorBase : public DerivativeMaterialInterface<Material>
22 {
23 public:
24  GBDependentTensorBase(const InputParameters & parameters);
25 
26 protected:
27  virtual void initQpStatefulProperties() = 0;
28  virtual void computeQpProperties() = 0;
29 
30  const VariableValue & _gb;
33 
34  const MaterialProperty<RankTwoTensor> & _gb_normal_tensor;
35  MaterialProperty<RealTensorValue> & _gb_dependent_tensor;
36 };
37 
38 #endif
MaterialProperty< RealTensorValue > & _gb_dependent_tensor
virtual void initQpStatefulProperties()=0
const MaterialProperty< RankTwoTensor > & _gb_normal_tensor
virtual void computeQpProperties()=0
Base class to define GB dependent properties.
const VariableValue & _gb
GBDependentTensorBase(const InputParameters &parameters)
InputParameters validParams< GBDependentTensorBase >()