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

Go to the source code of this file.

Classes

class  CreateProblemAction
 

Functions

template<>
InputParameters validParams< CreateProblemAction > ()
 

Function Documentation

Definition at line 23 of file CreateProblemAction.C.

24 {
25  MultiMooseEnum coord_types("XYZ RZ RSPHERICAL", "XYZ");
26  MooseEnum rz_coord_axis("X=0 Y=1", "Y");
27 
29  params.set<std::string>("type") = "FEProblem";
30  params.addParam<std::string>("name", "MOOSE Problem", "The name the problem");
31  params.addParam<std::vector<SubdomainName>>("block", "Block IDs for the coordinate systems");
32  params.addParam<MultiMooseEnum>(
33  "coord_type", coord_types, "Type of the coordinate system per block param");
34  params.addParam<MooseEnum>(
35  "rz_coord_axis", rz_coord_axis, "The rotation axis (X | Y) for axisymetric coordinates");
36 
37  params.addParam<bool>("fe_cache",
38  false,
39  "Whether or not to turn on the finite element shape "
40  "function caching system. This can increase speed with "
41  "an associated memory cost.");
42 
43  params.addParam<bool>(
44  "kernel_coverage_check", true, "Set to false to disable kernel->subdomain coverage check");
45  params.addParam<bool>("material_coverage_check",
46  true,
47  "Set to false to disable material->subdomain coverage check");
48 
49  params.addParam<FileNameNoExtension>("restart_file_base",
50  "File base name used for restart (e.g. "
51  "<path>/<filebase> or <path>/LATEST to "
52  "grab the latest file available)");
53 
54  return params;
55 }
T & set(const std::string &name, bool quiet_mode=false)
Returns a writable reference to the named parameters.
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
InputParameters validParams< MooseObjectAction >()
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...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...