https://mooseframework.inl.gov
ComputeInstantaneousThermalExpansionFunctionEigenstrain.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 
13 
18 template <bool is_ad>
21 {
22 public:
24 
26 
27 protected:
28  virtual void initQpStatefulProperties() override;
29 
31 
33 
40 
42  bool & _step_one;
43 
45 };
46 
typename std::conditional< is_ad, ADReal, ChainedReal >::type ValueAndDerivative
Return type with a single derivative.
ComputeInstantaneousThermalExpansionFunctionEigenstrainTempl< true > ADComputeInstantaneousThermalExpansionFunctionEigenstrain
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
GenericMaterialProperty< Real, is_ad > & _thermal_strain
Stores the thermal strain as a scalar for use in computing an incremental update. ...
bool & _step_one
Indicates whether we are on the first step, avoiding false positives when restarting.
ComputeThermalExpansionEigenstrainBase is a base class for all models that compute eigenstrains due t...
ComputeInstantaneousThermalExpansionFunctionEigenstrain computes an eigenstrain for thermal expansion...
ComputeInstantaneousThermalExpansionFunctionEigenstrainTempl< false > ComputeInstantaneousThermalExpansionFunctionEigenstrain
virtual ValueAndDerivative< is_ad > computeThermalStrain() override
computeThermalStrain must be overridden in derived classes.