www.mooseframework.org
ComputeVariableEigenstrain.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 "ComputeEigenstrain.h"
14 
19 class ComputeVariableEigenstrain : public DerivativeMaterialInterface<ComputeEigenstrain>
20 {
21 public:
23 
24  ComputeVariableEigenstrain(const InputParameters & parameters);
25 
26 protected:
27  virtual void computeQpEigenstrain();
28 
30  const unsigned int _num_args;
31 
33  std::vector<const MaterialProperty<Real> *> _dprefactor;
35  std::vector<std::vector<const MaterialProperty<Real> *>> _d2prefactor;
36 
38  std::vector<MaterialProperty<RankTwoTensor> *> _delastic_strain;
40  std::vector<std::vector<MaterialProperty<RankTwoTensor> *>> _d2elastic_strain;
41 };
const unsigned int _num_args
number of variables the prefactor depends on
static InputParameters validParams()
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 variables defined by a base ...