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 24 of file SumTensorIncrements.h.
◆ SumTensorIncrements()
SumTensorIncrements::SumTensorIncrements |
( |
const InputParameters & |
parameters | ) |
|
Definition at line 28 of file SumTensorIncrements.C.
29 : DerivativeMaterialInterface<Material>(parameters),
30 _property_names(getParam<std::vector<MaterialPropertyName>>(
"coupled_tensor_increment_names")),
31 _tensor(declareProperty<RankTwoTensor>(getParam<MaterialPropertyName>(
"tensor_name"))),
33 getMaterialPropertyOld<RankTwoTensor>(getParam<MaterialPropertyName>(
"tensor_name"))),
34 _tensor_increment(declareProperty<RankTwoTensor>(getParam<MaterialPropertyName>(
"tensor_name") +
◆ computeQpProperties()
void SumTensorIncrements::computeQpProperties |
( |
| ) |
|
|
protectedvirtual |
◆ initQpStatefulProperties()
void SumTensorIncrements::initQpStatefulProperties |
( |
| ) |
|
|
protectedvirtual |
◆ validParams()
InputParameters SumTensorIncrements::validParams |
( |
| ) |
|
|
static |
Definition at line 18 of file SumTensorIncrements.C.
21 params.addClassDescription(
"Compute tensor property by summing tensor increments");
22 params.addRequiredParam<MaterialPropertyName>(
"tensor_name",
"Name of strain property");
23 params.addParam<std::vector<MaterialPropertyName>>(
"coupled_tensor_increment_names",
24 "Name of strain increment properties");
◆ _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: