www.mooseframework.org
Functions
NumElems.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< NumElems > ()
 

Function Documentation

Definition at line 22 of file NumElems.C.

23 {
25  MooseEnum filt("active total", "active");
26  params.addParam<MooseEnum>(
27  "elem_filter",
28  filt,
29  "The type of elements to include in the count (active, total). Default == active");
30  return params;
31 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< GeneralPostprocessor >()
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...