Classes | Functions
Sampler.h File Reference

Go to the source code of this file.


class  Sampler
 This is the base class for Samplers. More...
struct  Sampler::Location
 Simple object for storing the sampler location (see SamplerMultiApp). More...


InputParameters validParams< Sampler > ()

Function Documentation

InputParameters validParams< Sampler > ( )

Definition at line 25 of file Sampler.C.

26 {
28  params += validParams<SetupInterface>();
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...