SumTensorIncrements update a tensor by summing tensor increments passed as property.
More...
#include <SumTensorIncrements.h>
SumTensorIncrements update a tensor by summing tensor increments passed as property.
Definition at line 25 of file SumTensorIncrements.h.
◆ SumTensorIncrements()
SumTensorIncrements::SumTensorIncrements |
( |
const InputParameters & |
parameters | ) |
|
Definition at line 27 of file SumTensorIncrements.C.
28 : DerivativeMaterialInterface<Material>(parameters),
29 _property_names(getParam<std::vector<MaterialPropertyName>>(
"coupled_tensor_increment_names")),
30 _tensor(declareProperty<RankTwoTensor>(getParam<MaterialPropertyName>(
"tensor_name"))),
32 getMaterialPropertyOld<RankTwoTensor>(getParam<MaterialPropertyName>(
"tensor_name"))),
33 _tensor_increment(declareProperty<RankTwoTensor>(getParam<MaterialPropertyName>(
"tensor_name") +
MaterialProperty< RankTwoTensor > & _tensor
MaterialProperty< RankTwoTensor > & _tensor_increment
std::vector< MaterialPropertyName > _property_names
const MaterialProperty< RankTwoTensor > & _tensor_old
unsigned int _num_property
std::vector< const MaterialProperty< RankTwoTensor > * > _coupled_tensor_increments
◆ computeQpProperties()
void SumTensorIncrements::computeQpProperties |
( |
| ) |
|
|
protectedvirtual |
Definition at line 55 of file SumTensorIncrements.C.
MaterialProperty< RankTwoTensor > & _tensor
MaterialProperty< RankTwoTensor > & _tensor_increment
const MaterialProperty< RankTwoTensor > & _tensor_old
unsigned int _num_property
std::vector< const MaterialProperty< RankTwoTensor > * > _coupled_tensor_increments
◆ initQpStatefulProperties()
void SumTensorIncrements::initQpStatefulProperties |
( |
| ) |
|
|
protectedvirtual |
Definition at line 48 of file SumTensorIncrements.C.
MaterialProperty< RankTwoTensor > & _tensor
MaterialProperty< RankTwoTensor > & _tensor_increment
◆ _coupled_tensor_increments
std::vector<const MaterialProperty<RankTwoTensor> *> SumTensorIncrements::_coupled_tensor_increments |
|
protected |
◆ _num_property
unsigned int SumTensorIncrements::_num_property |
|
protected |
◆ _property_names
std::vector<MaterialPropertyName> SumTensorIncrements::_property_names |
|
protected |
◆ _tensor
◆ _tensor_increment
MaterialProperty<RankTwoTensor>& SumTensorIncrements::_tensor_increment |
|
protected |
◆ _tensor_old
const MaterialProperty<RankTwoTensor>& SumTensorIncrements::_tensor_old |
|
protected |
The documentation for this class was generated from the following files: