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)),
virtual void computeQpDeformationGradient()=0
Compute the deformation gradient and store in _deformation_gradient.
Real _substep_dt
Substepping time step value used within the inheriting crystal plasticity eigenstrain calculations.
virtual void initQpStatefulProperties() override
We need to set initial values for deforamtion gradients too.
const RankTwoTensor getDeformationGradientInverse() const
void setQp(const unsigned int &qp)
Sets the value of the global variable _qp for inheriting classes.
void computeQpEigenstrain() override
Compute the eigenstrain and store in _eigenstrain.
MaterialProperty< RankTwoTensor > & _deformation_gradient
Stores the deformation gradient.
const RankTwoTensor getDeformationGradient() const
ComputeCrystalPlasticityEigenstrainBase(const InputParameters ¶meters)
static InputParameters validParams()
void setSubstepDt(const Real &substep_dt)
Sets the value of the _substep_dt for inheriting classes.
ComputeEigenstrainBase is the base class for eigenstrain tensors.
virtual void initQpStatefulProperties() override
GenericMaterialProperty< RankTwoTensor, is_ad > & _eigenstrain
Stores the current total eigenstrain.
static InputParameters validParams()
RankTwoTensorTempl< T > inverse() const
static RankTwoTensorTempl Identity()