A class used to generate a Gaussian likelihood of observing model predictions. More...
#include <Gaussian.h>
Public Types | |
typedef DataFileName | DataFileParameterType |
Public Member Functions | |
Gaussian (const InputParameters ¶meters) | |
virtual Real | function (const std::vector< Real > &x) const override |
Return the probability density or mass function at vector x. More... | |
virtual bool | enabled () const |
std::shared_ptr< MooseObject > | getSharedPtr () |
std::shared_ptr< const MooseObject > | getSharedPtr () 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 * | 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 &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 | mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, 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 &relative_path) const |
std::string | getDataFilePath (const std::string &relative_path) const |
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 | function (const std::vector< Real > &exp, const std::vector< Real > &model, const Real &noise, const bool &log_likelihood) |
Return the probability density function. More... | |
Public Attributes | |
const ConsoleStream | _console |
Protected Member Functions | |
const ReporterName & | getReporterName (const std::string ¶m_name) const |
virtual void | addReporterDependencyHelper (const ReporterName &) |
const T & | getReporterValue (const std::string ¶m_name, const std::size_t time_index=0) |
const T & | getReporterValue (const std::string ¶m_name, ReporterMode mode, const std::size_t time_index=0) |
const T & | getReporterValue (const std::string ¶m_name, const std::size_t time_index=0) |
const T & | getReporterValue (const std::string ¶m_name, ReporterMode mode, const std::size_t time_index=0) |
const T & | getReporterValueByName (const ReporterName &reporter_name, const std::size_t time_index=0) |
const T & | getReporterValueByName (const ReporterName &reporter_name, ReporterMode mode, const std::size_t time_index=0) |
const T & | getReporterValueByName (const ReporterName &reporter_name, const std::size_t time_index=0) |
const T & | getReporterValueByName (const ReporterName &reporter_name, ReporterMode mode, const std::size_t time_index=0) |
bool | hasReporterValue (const std::string ¶m_name) const |
bool | hasReporterValue (const std::string ¶m_name) const |
bool | hasReporterValue (const std::string ¶m_name) const |
bool | hasReporterValue (const std::string ¶m_name) const |
bool | hasReporterValueByName (const ReporterName &reporter_name) const |
bool | hasReporterValueByName (const ReporterName &reporter_name) const |
bool | hasReporterValueByName (const ReporterName &reporter_name) const |
bool | hasReporterValueByName (const ReporterName &reporter_name) const |
Protected Attributes | |
const bool | _log_likelihood |
return log-likelihood or likelihood More... | |
const Real & | _noise |
Noise value. More... | |
std::vector< Real > | _exp_values |
Experimental data values. More... | |
const bool & | _enabled |
MooseApp & | _app |
const std::string | _type |
const std::string | _name |
const InputParameters & | _pars |
Factory & | _factory |
ActionFactory & | _action_factory |
const Parallel::Communicator & | _communicator |
A class used to generate a Gaussian likelihood of observing model predictions.
Definition at line 18 of file Gaussian.h.
Gaussian::Gaussian | ( | const InputParameters & | parameters | ) |
Definition at line 33 of file Gaussian.C.
Return the probability density or mass function at vector x.
x | The input vector x |
Implements LikelihoodFunctionBase.
Reimplemented in ExtremeValue, and TruncatedGaussian.
Definition at line 77 of file Gaussian.C.
|
static |
Return the probability density function.
exp | The experimental measurement |
model | The model prediction |
noise | The standard deviation |
log_likelihood | Bool to return the log likelihood value |
Definition at line 58 of file Gaussian.C.
|
static |
Definition at line 17 of file Gaussian.C.
Referenced by ExtremeValue::validParams(), and TruncatedGaussian::validParams().
|
protected |
Experimental data values.
Definition at line 47 of file Gaussian.h.
Referenced by ExtremeValue::function(), TruncatedGaussian::function(), function(), and Gaussian().
|
protected |
return log-likelihood or likelihood
Definition at line 41 of file Gaussian.h.
Referenced by ExtremeValue::function(), TruncatedGaussian::function(), and function().
|
protected |
Noise value.
Definition at line 44 of file Gaussian.h.
Referenced by ExtremeValue::function(), TruncatedGaussian::function(), and function().