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

Go to the source code of this file.

Classes

class  TestDistributionPostprocessor
 Test object for testing distribution capabilities. More...
 

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 }