PCSobolContext is almost identical to SobolReporterContext with InType == Outype. More...
#include <PolynomialChaosReporter.h>
Public Types | |
enum | AutoOperation |
Public Member Functions | |
PCSobolContext (const libMesh::ParallelObject &other, const MooseObject &producer, ReporterState< std::pair< std::vector< OutType >, std::vector< std::vector< OutType >>>> &state, const PolynomialChaos &pc) | |
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< std::pair< std::vector< OutType >, std::vector< std::vector< 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 |
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 |
void | requiresConsumerModes (const ReporterStateBase &state, const std::set< ReporterMode > &modes) const |
Protected Attributes | |
ReporterState< std::pair< std::vector< OutType >, std::vector< std::vector< OutType > > > > & | _state |
const MooseObject & | _producer |
ReporterProducerEnum | _producer_enum |
const Parallel::Communicator & | _communicator |
Private Attributes | |
const PolynomialChaos & | _pc |
Polynomial chaos surrogate object. More... | |
PCSobolContext is almost identical to SobolReporterContext with InType == Outype.
Unfortunately, we cannot derive from SobolReporterContext since that class relies on the construction of a Calculator object, something that is unnecessary for calculating statistics with polynomial chaos.
Definition at line 82 of file PolynomialChaosReporter.h.
PCSobolContext< OutType >::PCSobolContext | ( | const libMesh::ParallelObject & | other, |
const MooseObject & | producer, | ||
ReporterState< std::pair< std::vector< OutType >, std::vector< std::vector< OutType >>>> & | state, | ||
const PolynomialChaos & | pc | ||
) |
Definition at line 205 of file PolynomialChaosReporter.C.
|
overridevirtual |
Reimplemented from ReporterGeneralContext< std::pair< std::vector< OutType >, std::vector< std::vector< OutType > > > >.
Definition at line 218 of file PolynomialChaosReporter.C.
|
overrideprotectedvirtual |
Reimplemented from ReporterGeneralContext< std::pair< std::vector< OutType >, std::vector< std::vector< OutType > > > >.
Definition at line 242 of file PolynomialChaosReporter.C.
|
inlineoverridevirtual |
Reimplemented from ReporterGeneralContext< std::pair< std::vector< OutType >, std::vector< std::vector< OutType > > > >.
Definition at line 93 of file PolynomialChaosReporter.h.
|
private |
Polynomial chaos surrogate object.
Definition at line 103 of file PolynomialChaosReporter.h.