www.mooseframework.org
Functions
Sampler.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< Sampler > ()
 

Function Documentation

template<>
InputParameters validParams< Sampler > ( )

Definition at line 25 of file Sampler.C.

26 {
28  params += validParams<SetupInterface>();
30 
31  params.addClassDescription("A base class for distribution sampling.");
32  params.addRequiredParam<std::vector<DistributionName>>(
33  "distributions", "The names of distributions that you want to sample.");
34  params.addParam<unsigned int>("seed", 0, "Random number generator initial seed");
35  params.registerBase("Sampler");
36  return params;
37 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< SetupInterface >()
InputParameters validParams< MooseObject >()
Definition: MooseObject.C:22
InputParameters validParams< DistributionInterface >()
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump...