21 "Scalar damage model for which the damage is prescribed by another material");
23 "Name of the material property containing the "
24 "damage index, which goes from 0 (undamaged) to 1 "
32 _damage_property(this->template getGenericMaterialProperty<Real, is_ad>(
"damage_index"))
40 _damage_index[_qp] = _damage_property[_qp];
42 if (MooseUtils::absoluteFuzzyLessThan(_damage_index[_qp], 0.0) ||
43 MooseUtils::absoluteFuzzyGreaterThan(_damage_index[_qp], 1.0))
45 "must be between 0 and 1. Current value is: ",
void mooseError(Args &&... args)
registerMooseObject("SolidMechanicsApp", ScalarMaterialDamage)
Base class for scalar damage models.
static InputParameters validParams()
Scalar damage model for which the damage is prescribed by another material.
virtual void updateQpDamageIndex() override
Update the damage index at the current qpoint.
static InputParameters validParams()
ScalarMaterialDamageTempl(const InputParameters ¶meters)