A class used to generate a lognormal distribution. More...
#include <Lognormal.h>
Public Types | |
typedef DataFileName | DataFileParameterType |
Public Member Functions | |
Lognormal (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 |
std::shared_ptr< MooseObject > | getSharedPtr () |
std::shared_ptr< const MooseObject > | getSharedPtr () const |
MooseApp & | getMooseApp () const |
const std::string & | type () const |
const std::string & | name () const |
std::string | typeAndName () const |
MooseObjectParameterName | uniqueParameterName (const std::string ¶meter_name) const |
MooseObjectName | uniqueName () const |
const InputParameters & | parameters () const |
const hit::Node * | getHitNode () const |
bool | hasBase () const |
const std::string & | getBase () 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 * | queryParam (const std::string &name) 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 &name) const |
void | connectControllableParams (const std::string ¶meter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) 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 |
std::string | messagePrefix (const bool hit_prefix=true) const |
std::string | errorPrefix (const std::string &) const |
void | mooseError (Args &&... args) const |
void | mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, 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 |
void | callMooseError (std::string msg, const bool with_prefix, const hit::Node *node=nullptr) const |
std::string | getDataFileName (const std::string ¶m) const |
std::string | getDataFileNameByName (const std::string &relative_path) const |
std::string | getDataFilePath (const std::string &relative_path) const |
PerfGraph & | perfGraph () |
const Parallel::Communicator & | comm () const |
processor_id_type | n_processors () const |
processor_id_type | processor_id () const |
Static Public Member Functions | |
static InputParameters | validParams () |
static Real | pdf (const Real &x, const Real &location, const Real &scale) |
static Real | cdf (const Real &x, const Real &location, const Real &scale) |
static Real | quantile (const Real &p, const Real &location, const Real &scale) |
static void | callMooseError (MooseApp *const app, const InputParameters ¶ms, std::string msg, const bool with_prefix, const hit::Node *node) |
Public Attributes | |
const ConsoleStream | _console |
Static Public Attributes | |
static const std::string | type_param |
static const std::string | name_param |
static const std::string | unique_name_param |
static const std::string | app_param |
static const std::string | moose_base_param |
Protected Member Functions | |
PerfID | registerTimedSection (const std::string §ion_name, const unsigned int level) const |
PerfID | registerTimedSection (const std::string §ion_name, const unsigned int level, const std::string &live_message, const bool print_dots=true) const |
std::string | timedSectionName (const std::string §ion_name) const |
Protected Attributes | |
const Real & | _location |
The lognormal location parameter (m or mu) More... | |
const Real & | _scale |
The lognormal scale parameter (s or sigma) More... | |
const bool & | _enabled |
MooseApp & | _app |
Factory & | _factory |
ActionFactory & | _action_factory |
const std::string & | _type |
const std::string & | _name |
const InputParameters & | _pars |
MooseApp & | _pg_moose_app |
const std::string | _prefix |
const Parallel::Communicator & | _communicator |
A class used to generate a lognormal distribution.
Definition at line 17 of file Lognormal.h.
Lognormal::Lognormal | ( | const InputParameters & | parameters | ) |
Definition at line 27 of file Lognormal.C.
Implements Distribution.
Definition at line 58 of file Lognormal.C.
Definition at line 40 of file Lognormal.C.
Implements Distribution.
Definition at line 52 of file Lognormal.C.
Definition at line 33 of file Lognormal.C.
Implements Distribution.
Definition at line 64 of file Lognormal.C.
Definition at line 46 of file Lognormal.C.
|
static |
Definition at line 18 of file Lognormal.C.
|
protected |
The lognormal location parameter (m or mu)
Definition at line 34 of file Lognormal.h.
Referenced by cdf(), pdf(), and quantile().
|
protected |
The lognormal scale parameter (s or sigma)
Definition at line 37 of file Lognormal.h.
Referenced by cdf(), pdf(), and quantile().