NumDOFs.C File Reference

Go to the source code of this file.


InputParameters validParams< NumDOFs > ()

Function Documentation

InputParameters validParams< NumDOFs > ( )

Definition at line 22 of file NumDOFs.C.

23 {
25  MooseEnum system_enum("NL AUX ALL", "ALL");
26  params.addParam<MooseEnum>(
27  "system",
28  system_enum,
29  "The system(s) to retrieve the number of DOFs from (NL, AUX, ALL). Default == ALL");
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...