20 params.addClassDescription(
"Truncated normal distribution");
21 params.addParam<Real>(
22 "lower_bound", -std::numeric_limits<Real>::max(),
"Lower bound of the distribution ");
23 params.addParam<Real>(
24 "upper_bound", std::numeric_limits<Real>::max(),
"Upper bound of the distribution ");
30 _lower_bound(getParam<Real>(
"lower_bound")),
31 _upper_bound(getParam<Real>(
"upper_bound"))
34 mooseError(
"lower_bound in truncated normal distribution must be less than upper_bound.");
41 const Real & lower_bound,
42 const Real & upper_bound)
44 if (x <= lower_bound || x >= upper_bound)
56 const Real & lower_bound,
57 const Real & upper_bound)
60 if (x <= lower_bound || x >= upper_bound)
73 const Real & lower_bound,
74 const Real & upper_bound)
86 TIME_SECTION(_perf_pdf);
93 TIME_SECTION(_perf_cdf);
100 TIME_SECTION(_perf_quantile);