www.mooseframework.org
ComputeEigenstrain.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 "ComputeEigenstrainBase.h"
13 
14 #include "RankTwoTensor.h"
15 
20 template <bool is_ad>
22 {
23 public:
25 
27 
28 protected:
29  virtual void computeQpEigenstrain() override;
30 
32 
34 
35  using Material::_qp;
37 };
38 
static InputParameters validParams()
ComputeEigenstrainTempl< true > ADComputeEigenstrain
virtual void computeQpEigenstrain() override
Compute the eigenstrain and store in _eigenstrain.
ComputeEigenstrainTempl(const InputParameters &parameters)
unsigned int _qp
ComputeEigenstrainTempl< false > ComputeEigenstrain
const GenericMaterialProperty< Real, is_ad > & _prefactor
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
ComputeEigenstrainBase is the base class for eigenstrain tensors.
RankTwoTensor _eigen_base_tensor
const InputParameters & parameters() const
ComputeEigenstrain computes an Eigenstrain that is a function of a single variable defined by a base ...