#include <MorrisReporter.h>
Public Types | |
| enum | AutoOperation |
Public Member Functions | |
| MorrisReporterContext (const libMesh::ParallelObject &other, const MooseObject &producer, ReporterState< MorrisState< DataType >> &state, Sampler &sampler, const std::vector< DataType > &data) | |
| MorrisReporterContext (const libMesh::ParallelObject &other, const MooseObject &producer, ReporterState< MorrisState< DataType >> &state, Sampler &sampler, const std::vector< DataType > &data, const MooseEnum &ci_method, const std::vector< Real > &ci_levels, unsigned int ci_replicates, unsigned int ci_seed) | |
| virtual void | finalize () override |
| virtual std::string | type () const override |
| virtual void | declareClone (ReporterData &r_data, const ReporterName &r_name, const ReporterMode &mode, const MooseObject &producer) const override |
| virtual void | declareVectorClone (ReporterData &r_data, const ReporterName &r_name, const ReporterMode &mode, const MooseObject &producer) const override |
| virtual void | resize (dof_id_type local_size) final |
| virtual void | clear () final |
| virtual void | vectorSum () final |
| virtual std::string | contextType () const override |
| const ReporterName & | name () const override final |
| const ReporterState< MorrisState< DataType > > & | state () const |
| virtual void | transfer (ReporterData &r_data, const ReporterName &r_name, unsigned int time_index=0) const override |
| virtual void | transferToVector (ReporterData &r_data, const ReporterName &r_name, dof_id_type index, unsigned int time_index=0) const override |
| virtual void | transferFromVector (ReporterData &r_data, const ReporterName &r_name, dof_id_type index, unsigned int time_index=0) const override |
| void | init (const ReporterMode &mode) |
| const MooseObject & | getProducer () const |
| const ReporterProducerEnum & | getProducerModeEnum () const |
| const Parallel::Communicator & | comm () const |
| processor_id_type | n_processors () const |
| processor_id_type | processor_id () const |
Protected Member Functions | |
| void | broadcast () |
| virtual void | storeInfo (nlohmann::json &json) const override |
| virtual void | store (nlohmann::json &json) const override |
| virtual void | copyValuesBack () override |
| virtual bool | restoreState () override |
| void | requiresConsumerModes (const ReporterStateBase &state, const std::set< ReporterMode > &modes) const |
Protected Attributes | |
| ReporterState< MorrisState< DataType > > & | _state |
| const MooseObject & | _producer |
| ReporterProducerEnum | _producer_enum |
| const Parallel::Communicator & | _communicator |
Private Member Functions | |
| std::vector< DataType > | computeElementaryEffects (const RealEigenMatrix &x, const std::vector< DataType > &y) const |
| Function for computing elementary effects for a single set of trajectories This is meant to be specialized for different data types. More... | |
| template<> | |
| std::vector< Real > | computeElementaryEffects (const RealEigenMatrix &x, const std::vector< Real > &y) const |
| template<> | |
| std::vector< std::vector< Real > > | computeElementaryEffects (const RealEigenMatrix &x, const std::vector< std::vector< Real >> &y) const |
Private Attributes | |
| Sampler & | _sampler |
| Morris sampler (don't need any specific functions, but should be this type) More... | |
| const std::vector< DataType > & | _data |
| Data used for the statistic calculation. More... | |
| std::unique_ptr< StochasticTools::Calculator< std::vector< DataType >, DataType > > | _mu_calc |
| Storage for the Calculator object for the desired stat, this is created in constructor. More... | |
| std::unique_ptr< StochasticTools::Calculator< std::vector< DataType >, DataType > > | _mustar_calc |
| std::unique_ptr< StochasticTools::Calculator< std::vector< DataType >, DataType > > | _sig_calc |
| std::unique_ptr< StochasticTools::BootstrapCalculator< std::vector< DataType >, DataType > > | _ci_mu_calc |
| Storage for the BootstrapCalculator for the desired confidence interval calculations (optional) More... | |
| std::unique_ptr< StochasticTools::BootstrapCalculator< std::vector< DataType >, DataType > > | _ci_mustar_calc |
| std::unique_ptr< StochasticTools::BootstrapCalculator< std::vector< DataType >, DataType > > | _ci_sig_calc |
Definition at line 57 of file MorrisReporter.h.
| MorrisReporterContext< DataType >::MorrisReporterContext | ( | const libMesh::ParallelObject & | other, |
| const MooseObject & | producer, | ||
| ReporterState< MorrisState< DataType >> & | state, | ||
| Sampler & | sampler, | ||
| const std::vector< DataType > & | data | ||
| ) |
Definition at line 147 of file MorrisReporter.C.
| MorrisReporterContext< DataType >::MorrisReporterContext | ( | const libMesh::ParallelObject & | other, |
| const MooseObject & | producer, | ||
| ReporterState< MorrisState< DataType >> & | state, | ||
| Sampler & | sampler, | ||
| const std::vector< DataType > & | data, | ||
| const MooseEnum & | ci_method, | ||
| const std::vector< Real > & | ci_levels, | ||
| unsigned int | ci_replicates, | ||
| unsigned int | ci_seed | ||
| ) |
Definition at line 171 of file MorrisReporter.C.
|
private |
Function for computing elementary effects for a single set of trajectories This is meant to be specialized for different data types.
|
private |
Definition at line 263 of file MorrisReporter.C.
|
private |
Definition at line 278 of file MorrisReporter.C.
|
overridevirtual |
Reimplemented from ReporterGeneralContext< MorrisState< DataType > >.
Definition at line 200 of file MorrisReporter.C.
|
inlineoverridevirtual |
Reimplemented from ReporterGeneralContext< MorrisState< DataType > >.
Definition at line 77 of file MorrisReporter.h.
|
private |
Storage for the BootstrapCalculator for the desired confidence interval calculations (optional)
Definition at line 103 of file MorrisReporter.h.
Referenced by MorrisReporterContext< DataType >::MorrisReporterContext().
|
private |
Definition at line 105 of file MorrisReporter.h.
Referenced by MorrisReporterContext< DataType >::MorrisReporterContext().
|
private |
Definition at line 107 of file MorrisReporter.h.
Referenced by MorrisReporterContext< DataType >::MorrisReporterContext().
|
private |
Data used for the statistic calculation.
Definition at line 94 of file MorrisReporter.h.
|
private |
Storage for the Calculator object for the desired stat, this is created in constructor.
Definition at line 97 of file MorrisReporter.h.
Referenced by MorrisReporterContext< DataType >::MorrisReporterContext().
|
private |
Definition at line 98 of file MorrisReporter.h.
Referenced by MorrisReporterContext< DataType >::MorrisReporterContext().
|
private |
Morris sampler (don't need any specific functions, but should be this type)
Definition at line 91 of file MorrisReporter.h.
Referenced by MorrisReporterContext< DataType >::MorrisReporterContext().
|
private |
Definition at line 99 of file MorrisReporter.h.
Referenced by MorrisReporterContext< DataType >::MorrisReporterContext().
1.8.14