NodalExtremeValue.C File Reference

Go to the source code of this file.


InputParameters validParams< NodalExtremeValue > ()

Function Documentation

Definition at line 22 of file NodalExtremeValue.C.

23 {
24  // Define the min/max enumeration
25  MooseEnum type_options("max=0 min=1", "max");
27  // Define the parameters
29  params.addParam<MooseEnum>("value_type",
30  type_options,
31  "Type of extreme value to return. 'max' "
32  "returns the maximum value. 'min' returns "
33  "the minimum value.");
34  return params;
35 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:37
InputParameters validParams< NodalVariablePostprocessor >()
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...