www.mooseframework.org
ComputeVariableEigenstrain.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 COMPUTEVARIABLEEIGENSTRAIN_H
8 #define COMPUTEVARIABLEEIGENSTRAIN_H
9 
10 #include "ComputeEigenstrain.h"
11 #include "DerivativeMaterialInterface.h"
12 
17 class ComputeVariableEigenstrain : public DerivativeMaterialInterface<ComputeEigenstrain>
18 {
19 public:
20  ComputeVariableEigenstrain(const InputParameters & parameters);
21 
22 protected:
23  virtual void computeQpEigenstrain();
24 
26  const unsigned int _num_args;
27 
29  std::vector<const MaterialProperty<Real> *> _dprefactor;
31  std::vector<std::vector<const MaterialProperty<Real> *>> _d2prefactor;
32 
34  std::vector<MaterialProperty<RankTwoTensor> *> _delastic_strain;
36  std::vector<std::vector<MaterialProperty<RankTwoTensor> *>> _d2elastic_strain;
37 };
38 
39 #endif // COMPUTEVARIABLEEIGENSTRAIN_H
const unsigned int _num_args
number of variables the prefactor depends on
ComputeVariableEigenstrain(const InputParameters &parameters)
std::vector< std::vector< MaterialProperty< RankTwoTensor > * > > _d2elastic_strain
second derivatives of the elastic strain w.r.t. to the args
std::vector< std::vector< const MaterialProperty< Real > * > > _d2prefactor
second derivatives of the prefactor w.r.t. to the args
std::vector< MaterialProperty< RankTwoTensor > * > _delastic_strain
first derivatives of the elastic strain w.r.t. to the args
std::vector< const MaterialProperty< Real > * > _dprefactor
first derivatives of the prefactor w.r.t. to the args
ComputeVariableEigenstrain computes an Eigenstrain that is a function of a single variable defined by...