A deprecated wrapper class used to generate a Weibull distribution.
More...
#include <WeibullDistribution.h>
|
| WeibullDistribution (const InputParameters ¶meters) |
|
virtual Real | pdf (const Real &x) const override |
|
virtual Real | cdf (const Real &x) const override |
|
virtual Real | quantile (const Real &p) const override |
|
virtual Real | median () const |
|
virtual bool | enabled () const |
|
MooseApp & | getMooseApp () const |
|
const std::string & | type () const |
|
virtual const std::string & | name () const |
|
std::string | typeAndName () const |
|
std::string | errorPrefix (const std::string &error_type) const |
|
void | callMooseError (std::string msg, const bool with_prefix) const |
|
MooseObjectParameterName | uniqueParameterName (const std::string ¶meter_name) const |
|
const InputParameters & | parameters () const |
|
MooseObjectName | uniqueName () const |
|
const T & | getParam (const std::string &name) const |
|
std::vector< std::pair< T1, T2 > > | getParam (const std::string ¶m1, const std::string ¶m2) const |
|
const T & | getRenamedParam (const std::string &old_name, const std::string &new_name) const |
|
T | getCheckedPointerParam (const std::string &name, const std::string &error_string="") const |
|
bool | isParamValid (const std::string &name) const |
|
bool | isParamSetByUser (const std::string &nm) const |
|
void | paramError (const std::string ¶m, Args... args) const |
|
void | paramWarning (const std::string ¶m, Args... args) const |
|
void | paramInfo (const std::string ¶m, Args... args) const |
|
void | connectControllableParams (const std::string ¶meter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const |
|
void | mooseError (Args &&... args) const |
|
void | mooseErrorNonPrefixed (Args &&... args) const |
|
void | mooseWarning (Args &&... args) const |
|
void | mooseWarningNonPrefixed (Args &&... args) const |
|
void | mooseDeprecated (Args &&... args) const |
|
void | mooseInfo (Args &&... args) const |
|
std::string | getDataFileName (const std::string ¶m) const |
|
std::string | getDataFileNameByName (const std::string &name, const std::string *param=nullptr) const |
|
PerfGraph & | perfGraph () |
|
const Parallel::Communicator & | comm () const |
|
processor_id_type | n_processors () const |
|
processor_id_type | processor_id () const |
|
A deprecated wrapper class used to generate a Weibull distribution.
Definition at line 17 of file WeibullDistribution.h.
◆ WeibullDistribution()
WeibullDistribution::WeibullDistribution |
( |
const InputParameters & |
parameters | ) |
|
Definition at line 20 of file WeibullDistribution.C.
Weibull(const InputParameters ¶meters)
const InputParameters & parameters() const
◆ cdf() [1/2]
Real Weibull::cdf |
( |
const Real & |
x | ) |
const |
|
overridevirtualinherited |
Implements Distribution.
Definition at line 72 of file Weibull.C.
virtual Real cdf(const Real &x) const override
const Real & _c
The shape parameter (c or k)
const Real & _a
The location parameter (a or low)
const std::vector< double > x
const Real & _b
The scale parameter (b or lambda)
◆ cdf() [2/2]
Definition at line 48 of file Weibull.C.
54 const Real y = (
x - location) / scale;
55 return 1.0 - std::exp(-
std::pow(
y, shape));
const std::vector< double > y
const std::vector< double > x
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MooseUnits pow(const MooseUnits &, int)
◆ pdf() [1/2]
Real Weibull::pdf |
( |
const Real & |
x | ) |
const |
|
overridevirtualinherited |
Implements Distribution.
Definition at line 66 of file Weibull.C.
virtual Real pdf(const Real &x) const override
const Real & _c
The shape parameter (c or k)
const Real & _a
The location parameter (a or low)
const std::vector< double > x
const Real & _b
The scale parameter (b or lambda)
◆ pdf() [2/2]
Definition at line 36 of file Weibull.C.
42 const Real y = (
x - location) / scale;
const std::vector< double > y
const std::vector< double > x
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MooseUnits pow(const MooseUnits &, int)
◆ quantile() [1/2]
Real Weibull::quantile |
( |
const Real & |
p | ) |
const |
|
overridevirtualinherited |
Implements Distribution.
Definition at line 78 of file Weibull.C.
const Real & _c
The shape parameter (c or k)
const Real & _a
The location parameter (a or low)
const Real & _b
The scale parameter (b or lambda)
virtual Real quantile(const Real &p) const override
◆ quantile() [2/2]
Real Weibull::quantile |
( |
const Real & |
p, |
|
|
const Real & |
location, |
|
|
const Real & |
scale, |
|
|
const Real & |
shape |
|
) |
| |
|
staticinherited |
Definition at line 60 of file Weibull.C.
62 return location +
scale *
std::pow(-std::log(1 - p), 1.0 / shape);
MooseUnits pow(const MooseUnits &, int)
◆ validParams()
◆ _a
◆ _b
◆ _c
The documentation for this class was generated from the following files: