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))
ADConstantMaterial(const InputParameters ¶meters)
registerMooseObject("ThermalHydraulicsApp", ADConstantMaterial)
Constant material with zero-valued derivatives.
ADMaterialProperty< Real > & _property
virtual void computeQpProperties()
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()