20 params.
set<
bool>(
"compute") =
false;
24 "deformation_gradient_name",
25 "Material property name for the deformation gradient tensor computed " 33 _deformation_gradient_name(_base_name + getParam<
std::string>(
"deformation_gradient_name")),
34 _deformation_gradient(declareProperty<
RankTwoTensor>(_deformation_gradient_name)),
35 _deformation_gradient_old(getMaterialPropertyOld<
RankTwoTensor>(_deformation_gradient_name)),
void setSubstepDt(const Real &substep_dt)
Sets the value of the _substep_dt for inheriting classes.
static InputParameters validParams()
static RankTwoTensorTempl Identity()
const RankTwoTensor getDeformationGradientInverse() const
void computeQpEigenstrain() override
Compute the eigenstrain and store in _eigenstrain.
static InputParameters validParams()
virtual void computeQpDeformationGradient()=0
Compute the deformation gradient and store in _deformation_gradient.
ComputeCrystalPlasticityEigenstrainBase(const InputParameters ¶meters)
ComputeEigenstrainBase is the base class for eigenstrain tensors.
Real _substep_dt
Substepping time step value used within the inheriting crystal plasticity eigenstrain calculations...
const RankTwoTensor getDeformationGradient() const
virtual void initQpStatefulProperties() override
We need to set initial values for deforamtion gradients too.
GenericMaterialProperty< RankTwoTensor, is_ad > & _eigenstrain
Stores the current total eigenstrain.
MaterialProperty< RankTwoTensor > & _deformation_gradient
Stores the deformation gradient.
void setQp(const unsigned int &qp)
Sets the value of the global variable _qp for inheriting classes.
virtual void initQpStatefulProperties() override