Enum for batch type in stochastic tools MultiApp. More...
Enumerations | |
| enum | MultiAppMode { MultiAppMode::NORMAL = 0, MultiAppMode::BATCH_RESET = 1, MultiAppMode::BATCH_RESTORE = 2 } |
Functions | |
| MooseEnum | makeBootstrapCalculatorEnum () |
| template<typename InType , typename OutType > | |
| std::unique_ptr< BootstrapCalculator< InType, OutType > > | makeBootstrapCalculator (const MooseEnum &, const libMesh::ParallelObject &, const std::vector< Real > &, unsigned int, unsigned int, StochasticTools::Calculator< InType, OutType > &) |
| MultiMooseEnum | makeCalculatorEnum () |
| template<typename InType = std::vector<Real>, typename OutType = Real> | |
| std::unique_ptr< Calculator< InType, OutType > > | makeCalculator (const MooseEnumItem &item, const libMesh::ParallelObject &other) |
| template<typename T > | |
| void | stochasticGather (const libMesh::Parallel::Communicator &, processor_id_type, T &) |
| template<typename T , typename std::enable_if< canDefaultGather< std::vector< T >>::value, int >::type = 0> | |
| void | stochasticGather (const libMesh::Parallel::Communicator &comm, processor_id_type root_id, std::vector< T > &val) |
| template<typename T , typename std::enable_if< canStochasticGather< std::vector< std::vector< T >>>::value, int >::type = 0> | |
| void | stochasticGather (const libMesh::Parallel::Communicator &comm, processor_id_type root_id, std::vector< std::vector< T >> &val) |
| template<typename T > | |
| void | stochasticGather (const libMesh::Parallel::Communicator &comm, processor_id_type root_id, std::vector< std::basic_string< T >> &val) |
| template<typename A > | |
| void | stochasticGather (const libMesh::Parallel::Communicator &comm, processor_id_type root_id, std::vector< bool, A > &val) |
| template<typename T > | |
| void | stochasticAllGather (const libMesh::Parallel::Communicator &, T &) |
| template<typename T , typename std::enable_if< canDefaultGather< std::vector< T >>::value, int >::type = 0> | |
| void | stochasticAllGather (const libMesh::Parallel::Communicator &comm, std::vector< T > &val) |
| template<typename T , typename std::enable_if< canStochasticGather< std::vector< std::vector< T >>>::value, int >::type = 0> | |
| void | stochasticAllGather (const libMesh::Parallel::Communicator &comm, std::vector< std::vector< T >> &val) |
| template<typename T > | |
| void | stochasticAllGather (const libMesh::Parallel::Communicator &comm, std::vector< std::basic_string< T >> &val) |
| template<typename A > | |
| void | stochasticAllGather (const libMesh::Parallel::Communicator &comm, std::vector< bool, A > &val) |
| template<typename T > | |
| void | inplaceSort (std::vector< T > &values) |
| template<typename T > | |
| void | inplaceSort (std::vector< std::vector< T >> &values) |
| template<typename T > | |
| std::vector< std::vector< T > > | reshapeVector (const std::vector< T > &vec, std::size_t n, bool row_major) |
| Reshape a vector into matrix-like vector of vectors. More... | |
| createBootstrapCalculators (std::vector< Real >, Real) | |
| createBootstrapCalculators (std::vector< int >, Real) | |
| createCalculators (std::vector< Real >, Real) | |
| createCalculators (std::vector< int >, Real) | |
| createVectorCalculators (std::vector< Real >, Real) | |
| createVectorOfVectorCalculators (std::vector< Real >, Real) | |
Enum for batch type in stochastic tools MultiApp.
Polynomials and quadratures based on defined distributions for Polynomial Chaos.
|
strong |
| Enumerator | |
|---|---|
| NORMAL | |
| BATCH_RESET | |
| BATCH_RESTORE | |
Definition at line 15 of file StochasticToolsTypes.h.
| void StochasticTools::inplaceSort | ( | std::vector< T > & | values | ) |
Definition at line 218 of file StochasticToolsUtils.h.
Referenced by StochasticTools::BootstrapCalculator< std::vector< std::vector< InType > >, std::vector< std::vector< OutType > > >::computeBootstrapEstimates(), and inplaceSort().
| void StochasticTools::inplaceSort | ( | std::vector< std::vector< T >> & | values | ) |
Definition at line 224 of file StochasticToolsUtils.h.
| std::unique_ptr< BootstrapCalculator< InType, OutType > > StochasticTools::makeBootstrapCalculator | ( | const MooseEnum & | item, |
| const libMesh::ParallelObject & | other, | ||
| const std::vector< Real > & | levels, | ||
| unsigned int | replicates, | ||
| unsigned int | seed, | ||
| StochasticTools::Calculator< InType, OutType > & | calc | ||
| ) |
Definition at line 182 of file BootstrapCalculators.h.
Referenced by SobolStatistics::execute(), and TEST().
| MooseEnum StochasticTools::makeBootstrapCalculatorEnum | ( | ) |
Definition at line 17 of file BootstrapCalculators.C.
Referenced by Statistics::validParams(), and StatisticsReporter::validParams().
| std::unique_ptr< Calculator< InType, OutType > > StochasticTools::makeCalculator | ( | const MooseEnumItem & | item, |
| const libMesh::ParallelObject & | other | ||
| ) |
Definition at line 335 of file Calculators.h.
Referenced by Statistics::execute(), PolynomialChaosTrainer::PolynomialChaosTrainer(), PolynomialRegressionTrainer::PolynomialRegressionTrainer(), and TEST().
| MultiMooseEnum StochasticTools::makeCalculatorEnum | ( | ) |
Definition at line 16 of file Calculators.C.
Referenced by ParameterStudyAction::validParams(), Statistics::validParams(), and StatisticsReporter::validParams().
| std::vector<std::vector<T> > StochasticTools::reshapeVector | ( | const std::vector< T > & | vec, |
| std::size_t | n, | ||
| bool | row_major | ||
| ) |
Reshape a vector into matrix-like vector of vectors.
| vec | Input vector to reshape |
| n | Leading dimension size, number of columns if row-major, number of rows if column-major |
| row_major | True if |
| vec | is in row-major format see https://en.wikipedia.org/wiki/Row-_and_column-major_order |
Definition at line 259 of file StochasticToolsUtils.h.
Referenced by SobolStatistics::execute(), AdaptiveMonteCarloDecision::execute(), SobolReporterContext< InType, OutType >::finalize(), and sobolidx().
| void StochasticTools::stochasticAllGather | ( | const libMesh::Parallel::Communicator & | , |
| T & | |||
| ) |
Definition at line 141 of file StochasticToolsUtils.h.
Referenced by StochasticReporterContext< T >::finalize(), and stochasticAllGather().
| void StochasticTools::stochasticAllGather | ( | const libMesh::Parallel::Communicator & | comm, |
| std::vector< T > & | val | ||
| ) |
Definition at line 148 of file StochasticToolsUtils.h.
| void StochasticTools::stochasticAllGather | ( | const libMesh::Parallel::Communicator & | comm, |
| std::vector< std::vector< T >> & | val | ||
| ) |
Definition at line 156 of file StochasticToolsUtils.h.
| void StochasticTools::stochasticAllGather | ( | const libMesh::Parallel::Communicator & | comm, |
| std::vector< std::basic_string< T >> & | val | ||
| ) |
Definition at line 193 of file StochasticToolsUtils.h.
| void StochasticTools::stochasticAllGather | ( | const libMesh::Parallel::Communicator & | comm, |
| std::vector< bool, A > & | val | ||
| ) |
Definition at line 201 of file StochasticToolsUtils.h.
| void StochasticTools::stochasticGather | ( | const libMesh::Parallel::Communicator & | , |
| processor_id_type | , | ||
| T & | |||
| ) |
Definition at line 49 of file StochasticToolsUtils.h.
Referenced by StochasticReporterContext< T >::finalize(), and stochasticGather().
| void StochasticTools::stochasticGather | ( | const libMesh::Parallel::Communicator & | comm, |
| processor_id_type | root_id, | ||
| std::vector< T > & | val | ||
| ) |
Definition at line 56 of file StochasticToolsUtils.h.
| void StochasticTools::stochasticGather | ( | const libMesh::Parallel::Communicator & | comm, |
| processor_id_type | root_id, | ||
| std::vector< std::vector< T >> & | val | ||
| ) |
Definition at line 66 of file StochasticToolsUtils.h.
| void StochasticTools::stochasticGather | ( | const libMesh::Parallel::Communicator & | comm, |
| processor_id_type | root_id, | ||
| std::vector< std::basic_string< T >> & | val | ||
| ) |
Definition at line 108 of file StochasticToolsUtils.h.
| void StochasticTools::stochasticGather | ( | const libMesh::Parallel::Communicator & | comm, |
| processor_id_type | root_id, | ||
| std::vector< bool, A > & | val | ||
| ) |
Definition at line 120 of file StochasticToolsUtils.h.
1.8.14