www.mooseframework.org
Functions
Residual.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< Residual > ()
 

Function Documentation

Definition at line 23 of file Residual.C.

24 {
25  MooseEnum residual_types("FINAL INITIAL_BEFORE_PRESET INITIAL_AFTER_PRESET", "FINAL");
26 
28  params.addParam<MooseEnum>("residual_type",
29  residual_types,
30  "Type of residual to be reported. Choices are: " +
31  residual_types.getRawNames());
32  return params;
33 }
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
std::string getRawNames() const
Method for returning the raw name strings for this instance.
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...