www.mooseframework.org
Classes | Functions
GenericConstantMaterial.h File Reference

Go to the source code of this file.

Classes

class  GenericConstantMaterial
 This material automatically declares as material properties whatever is passed to it through the parameters 'prop_names' and uses the values from 'prop_values' as the values for those properties. More...
 

Functions

template<>
InputParameters validParams< GenericConstantMaterial > ()
 

Function Documentation

Definition at line 21 of file GenericConstantMaterial.C.

22 {
24  params.addParam<std::vector<std::string>>("prop_names",
25  "The names of the properties this material will have");
26  params.addParam<std::vector<Real>>("prop_values",
27  "The values associated with the named properties");
28  return params;
29 }
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