www.mooseframework.org
SumTensorIncrements.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "Material.h"
13 #include "RankTwoTensor.h"
15 
20 {
21 public:
23 
25 
26 protected:
27  virtual void initQpStatefulProperties();
28  virtual void computeQpProperties();
29 
30  std::vector<MaterialPropertyName> _property_names;
31  unsigned int _num_property;
32 
36 
37  std::vector<const MaterialProperty<RankTwoTensor> *> _coupled_tensor_increments;
38 };
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
static InputParameters validParams()
const MaterialProperty< RankTwoTensor > & _tensor_old
const InputParameters & parameters() const
SumTensorIncrements(const InputParameters &parameters)
std::vector< const MaterialProperty< RankTwoTensor > * > _coupled_tensor_increments