InputParameters validParams<MatDiffusion>() { InputParameters params = validParams<Kernel>(); params.addRequiredParam<std::string>("prop_name", "the name of the material property we are going to use"); MooseEnum prop_state("current old older", "current"); params.addParam<MooseEnum>("prop_state", prop_state, "Declares which property state we should retrieve"); return params; }
InputParameters validParams<MaterialPointSource>() { InputParameters params = validParams<DiracKernel>(); params.addRequiredParam<Point>("point", "The x,y,z coordinates of the point"); params.addParam<MaterialPropertyName>( "material_prop", "matp", "the name of the material property for the coefficient"); MooseEnum prop_state("current old older", "current"); params.addParam<MooseEnum>( "prop_state", prop_state, "Declares which property state we should retrieve"); params.declareControllable("point"); return params; }