www.mooseframework.org
Functions
SetupQuadratureAction.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< SetupQuadratureAction > ()
 

Function Documentation

Definition at line 22 of file SetupQuadratureAction.C.

23 {
24  MooseEnum types("CLOUGH CONICAL GAUSS GRID MONOMIAL SIMPSON TRAP GAUSS_LOBATTO", "GAUSS");
25  MooseEnum order("AUTO CONSTANT FIRST SECOND THIRD FOURTH FIFTH SIXTH SEVENTH EIGHTH NINTH TENTH "
26  "ELEVENTH TWELFTH THIRTEENTH FOURTEENTH FIFTEENTH SIXTEENTH SEVENTEENTH "
27  "EIGHTTEENTH NINTEENTH TWENTIETH",
28  "AUTO");
29 
31 
32  params.addParam<MooseEnum>("type", types, "Type of the quadrature rule");
33  params.addParam<MooseEnum>("order", order, "Order of the quadrature");
34  params.addParam<MooseEnum>("element_order", order, "Order of the quadrature for elements");
35  params.addParam<MooseEnum>("side_order", order, "Order of the quadrature for sides");
36 
37  return params;
38 }
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
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...
InputParameters validParams< Action >()
Definition: Action.C:23