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

Go to the source code of this file.

Classes

class  ElementExtremeValue
 A postprocessor for collecting the nodal min or max value. More...
 

Functions

template<>
InputParameters validParams< ElementExtremeValue > ()
 

Function Documentation

Definition at line 22 of file ElementExtremeValue.C.

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