www.mooseframework.org
Functions
TestDistributionPostprocessor.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< TestDistributionPostprocessor > ()
 

Function Documentation

template<>
InputParameters validParams< TestDistributionPostprocessor > ( )

Definition at line 12 of file TestDistributionPostprocessor.C.

13 {
14  InputParameters params = validParams<GeneralPostprocessor>();
15  params.addRequiredParam<DistributionName>(
16  "distribution", "The distribution which supplies the postprocessor value.");
17  params.addRequiredParam<Real>(
18  "value", "A value to pass to the cdf, pdf, or quantile function of the given distribution.");
19 
20  MooseEnum method("cdf pdf quantile");
21  params.addParam<MooseEnum>("method", method, "The distribution method to call.");
22  return params;
23 }