GenericFunctionMaterial.C File Reference

Go to the source code of this file.


InputParameters validParams< GenericFunctionMaterial > ()

Function Documentation

Definition at line 20 of file GenericFunctionMaterial.C.

21 {
23  params.addParam<std::vector<std::string>>("prop_names",
24  "The names of the properties this material will have");
25  params.addParam<std::vector<FunctionName>>("prop_values",
26  "The corresponding names of the "
27  "functions that are going to provide "
28  "the values for the variables");
29  params.addDeprecatedParam<bool>("enable_stateful",
30  false,
31  "Enable the declaration of old and older values",
32  "all properties can implicitly become stateful");
33  return params;
34 }
void addDeprecatedParam(const std::string &name, const T &value, const std::string &doc_string, const std::string &deprecation_message)
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...
InputParameters validParams< Material >()
Definition: Material.C:27