www.mooseframework.org
ComputeExtraStressBase.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 COMPUTEEXTRASTRESSBASE_H
8 #define COMPUTEEXTRASTRESSBASE_H
9 
10 #include "Material.h"
11 #include "RankTwoTensor.h"
12 
17 class ComputeExtraStressBase : public Material
18 {
19 public:
20  ComputeExtraStressBase(const InputParameters & parameters);
21 
22 protected:
23  virtual void computeQpProperties();
24  virtual void computeQpExtraStress() = 0;
25 
26  std::string _base_name;
27  std::string _extra_stress_name;
28 
29  MaterialProperty<RankTwoTensor> & _extra_stress;
30 };
31 
32 #endif // COMPUTEEXTRASTRESSBASE_H
ComputeExtraStressBase is the base class for extra_stress, which is added to stress calculated by the...
ComputeExtraStressBase(const InputParameters &parameters)
virtual void computeQpExtraStress()=0
MaterialProperty< RankTwoTensor > & _extra_stress