49 std::vector<GenericMaterialProperty<Real, is_ad> *>
_properties;
virtual void initQpStatefulProperties() override
Initialize stateful properties at quadrature points.
GenericFunctionMaterialTempl(const InputParameters ¶meters)
std::vector< std::string > _prop_names
Names of the material properties to define.
std::vector< GenericMaterialProperty< Real, is_ad > * > _properties
Vector of all the properties.
std::vector< FunctionName > _prop_values
The functions to use for each property.
void computeQpFunctions()
A helper method for evaluating the functions.
This material automatically declares as material properties whatever is passed to it through the para...
Materials compute MaterialProperties.
GenericFunctionMaterialTempl< false > GenericFunctionMaterial
virtual void computeQpProperties() override
Users must override this method.
const InputParameters & parameters() const
Get the parameters of the object.
static InputParameters validParams()
unsigned int _num_props
Number of properties that will be defined.
std::vector< const Function * > _functions
Vector of pointers to the functions, stored here after retrieval using their name.
GenericFunctionMaterialTempl< true > ADGenericFunctionMaterial