www.mooseframework.org
ComputeElasticityTensorBase.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 COMPUTEELASTICITYTENSORBASE_H
8 #define COMPUTEELASTICITYTENSORBASE_H
9 
10 #include "DerivativeMaterialInterface.h"
11 #include "Material.h"
12 #include "RankFourTensor.h"
13 #include "GuaranteeProvider.h"
14 
18 class ComputeElasticityTensorBase : public DerivativeMaterialInterface<Material>,
19  public GuaranteeProvider
20 {
21 public:
22  ComputeElasticityTensorBase(const InputParameters & parameters);
23 
24 protected:
25  virtual void computeQpProperties();
26  virtual void computeQpElasticityTensor() = 0;
27 
28  std::string _base_name;
30 
31  MaterialProperty<RankFourTensor> & _elasticity_tensor;
32 
34  Function * const _prefactor_function;
35 };
36 
37 #endif // COMPUTEELASTICITYTENSORBASE_H
ComputeElasticityTensorBase the base class for computing elasticity tensors.
Add-on class that provides the functionality to issue guarantees for declared material properties...
Function *const _prefactor_function
prefactor function to multiply the elasticity tensor with
ComputeElasticityTensorBase(const InputParameters &parameters)
virtual void computeQpElasticityTensor()=0
MaterialProperty< RankFourTensor > & _elasticity_tensor