www.mooseframework.org
SumTensorIncrements.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 SUMTENSORINCREMENTS_H
8 #define SUMTENSORINCREMENTS_H
9 
10 #include "Material.h"
11 #include "RankTwoTensor.h"
12 #include "DerivativeMaterialInterface.h"
13 
14 class SumStraubIncrements;
15 
19 class SumTensorIncrements : public DerivativeMaterialInterface<Material>
20 {
21 public:
22  SumTensorIncrements(const InputParameters & parameters);
23 
24 protected:
25  virtual void initQpStatefulProperties();
26  virtual void computeQpProperties();
27 
28  std::vector<MaterialPropertyName> _property_names;
29  unsigned int _num_property;
30 
31  MaterialProperty<RankTwoTensor> & _tensor;
32  const MaterialProperty<RankTwoTensor> & _tensor_old;
33  MaterialProperty<RankTwoTensor> & _tensor_increment;
34 
35  std::vector<const MaterialProperty<RankTwoTensor> *> _coupled_tensor_increments;
36 };
37 
38 #endif
SumTensorIncrements update a tensor by summing tensor increments passed as property.
MaterialProperty< RankTwoTensor > & _tensor
virtual void initQpStatefulProperties()
virtual void computeQpProperties()
MaterialProperty< RankTwoTensor > & _tensor_increment
std::vector< MaterialPropertyName > _property_names
const MaterialProperty< RankTwoTensor > & _tensor_old
SumTensorIncrements(const InputParameters &parameters)
std::vector< const MaterialProperty< RankTwoTensor > * > _coupled_tensor_increments