18 params.
addParam<Real>(
"value", 0.,
"Constant value being assigned into the property");
19 params.
addRequiredParam<std::string>(
"property_name",
"The property name to declare");
26 _value(getParam<Real>(
"value")),
27 _property_name(getParam<
std::string>(
"property_name")),
28 _property(declareADProperty<Real>(_property_name))
registerMooseObject("ThermalHydraulicsApp", ADConstantMaterial)
Constant material with zero-valued derivatives.
ADMaterialProperty< Real > & _property
static InputParameters validParams()
virtual void computeQpProperties()
ADConstantMaterial(const InputParameters ¶meters)
static InputParameters validParams()