19 "derivative material properties for user-defined variables");
20 params.
addParam<
Real>(
"value", 0.,
"Constant value being assigned into the property");
21 params.
addRequiredParam<std::string>(
"property_name",
"The property name to declare");
24 "Names of variables for which to create (zero) material derivative properties");
31 _value(getParam<
Real>(
"value")),
32 _property_name(getParam<
std::string>(
"property_name")),
33 _property(declareProperty<
Real>(_property_name)),
34 _n_derivative_vars(coupledComponents(
"derivative_vars"))
virtual bool isCoupledConstant(const std::string &var_name) const
registerMooseObject("ThermalHydraulicsApp", ConstantMaterial)
VariableName coupledName(const std::string &var_name, unsigned int comp=0) const
const unsigned int _n_derivative_vars
Number of variables for which to create zero-valued property derivatives.
std::vector< MaterialProperty< Real > * > _derivative_properties
Derivatives of material property with respect to each variable.
static InputParameters validParams()
static InputParameters validParams()
MaterialProperty< Real > & _property
ConstantMaterial(const InputParameters ¶meters)
const MaterialPropertyName _property_name
Constant material with zero-valued derivatives.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void computeQpProperties()