#include <SobolReporter.h>
Public Types | |
enum | AutoOperation |
Public Member Functions | |
SobolReporterContext (const libMesh::ParallelObject &other, const MooseObject &producer, ReporterState< SobolState< OutType >> &state, const InType &data, const ReporterProducerEnum &mode, const SobolSampler &sampler) | |
SobolReporterContext (const libMesh::ParallelObject &other, const MooseObject &producer, ReporterState< SobolState< OutType >> &state, const InType &data, const ReporterProducerEnum &mode, const SobolSampler &sampler, 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< SobolState< OutType > > & | 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 |
Static Public Member Functions | |
static void | storeSobol (nlohmann::json &json, const SobolState< OutType > &val, unsigned int nparam) |
Protected Member Functions | |
virtual void | store (nlohmann::json &json) const override |
void | broadcast () |
virtual void | storeInfo (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< SobolState< OutType > > & | _state |
const MooseObject & | _producer |
ReporterProducerEnum | _producer_enum |
const Parallel::Communicator & | _communicator |
Private Attributes | |
const InType & | _data |
Data used for the statistic calculation. More... | |
const ReporterProducerEnum & | _data_mode |
Mode in which the above data was produced. More... | |
const SobolSampler & | _sampler |
Sobol sampler to get info on number of matrices and whatnot. More... | |
StochasticTools::SobolCalculator< InType, OutType > | _calc |
Storage for the SobolCalculator object, this is created in constructor. More... | |
std::unique_ptr< StochasticTools::BootstrapCalculator< std::vector< InType >, std::vector< OutType > > > | _ci_calc_ptr = nullptr |
Storage for the BootstrapCalculator for the desired confidence interval calculations (optional) More... | |
Definition at line 18 of file SobolReporter.h.
SobolReporterContext< InType, OutType >::SobolReporterContext | ( | const libMesh::ParallelObject & | other, |
const MooseObject & | producer, | ||
ReporterState< SobolState< OutType >> & | state, | ||
const InType & | data, | ||
const ReporterProducerEnum & | mode, | ||
const SobolSampler & | sampler | ||
) |
Definition at line 169 of file SobolReporter.C.
SobolReporterContext< InType, OutType >::SobolReporterContext | ( | const libMesh::ParallelObject & | other, |
const MooseObject & | producer, | ||
ReporterState< SobolState< OutType >> & | state, | ||
const InType & | data, | ||
const ReporterProducerEnum & | mode, | ||
const SobolSampler & | sampler, | ||
const MooseEnum & | ci_method, | ||
const std::vector< Real > & | ci_levels, | ||
unsigned int | ci_replicates, | ||
unsigned int | ci_seed | ||
) |
Definition at line 185 of file SobolReporter.C.
|
overridevirtual |
Reimplemented from ReporterGeneralContext< SobolState< OutType > >.
Definition at line 205 of file SobolReporter.C.
|
overrideprotectedvirtual |
Reimplemented from ReporterGeneralContext< SobolState< OutType > >.
Definition at line 229 of file SobolReporter.C.
|
static |
Definition at line 236 of file SobolReporter.C.
|
inlineoverridevirtual |
Reimplemented from ReporterGeneralContext< SobolState< OutType > >.
Definition at line 87 of file SobolReporter.h.
|
private |
Storage for the SobolCalculator object, this is created in constructor.
Definition at line 108 of file SobolReporter.h.
Referenced by SobolReporterContext< InType, OutType >::SobolReporterContext().
|
private |
Storage for the BootstrapCalculator for the desired confidence interval calculations (optional)
Definition at line 112 of file SobolReporter.h.
Referenced by SobolReporterContext< InType, OutType >::SobolReporterContext().
|
private |
Data used for the statistic calculation.
Definition at line 99 of file SobolReporter.h.
|
private |
Mode in which the above data was produced.
Definition at line 102 of file SobolReporter.h.
|
private |
Sobol sampler to get info on number of matrices and whatnot.
Definition at line 105 of file SobolReporter.h.