Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
ModelEvaluator providing statistic response functions. More...
#include <Stokhos_ResponseStatisticModelEvaluator.hpp>
Inherits ModelEvaluator.
Public Member Functions | |
ResponseStatisticModelEvaluator (const Teuchos::RCP< EpetraExt::ModelEvaluator > &me, const Teuchos::Array< Teuchos::RCP< const Epetra_Map > > &base_g_maps, const Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > &sg_basis, const Teuchos::RCP< const EpetraExt::MultiComm > &sg_comm, const Teuchos::RCP< const Epetra_BlockMap > &block_map) | |
Protected Attributes | |
Teuchos::RCP < EpetraExt::ModelEvaluator > | me |
Underlying model evaluator. More... | |
Teuchos::Array< Teuchos::RCP < const Epetra_Map > > | base_g_maps |
Base maps of block g vectors. More... | |
Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > | sg_basis |
Stochastic Galerkin basis. More... | |
Teuchos::RCP< const EpetraExt::MultiComm > | sg_comm |
Parallel SG communicator. More... | |
Teuchos::RCP< const Epetra_BlockMap > | block_map |
Map for stochastic blocks. More... | |
int | num_p |
Number of parameters. More... | |
int | num_g |
Number of responses. More... | |
Overridden from EpetraExt::ModelEvaluator . | |
Teuchos::RCP< const Epetra_Map > | get_x_map () const |
Return solution vector map. More... | |
Teuchos::RCP< const Epetra_Map > | get_f_map () const |
Return residual vector map. More... | |
Teuchos::RCP< const Epetra_Map > | get_p_map (int l) const |
Return parameter vector map. More... | |
Teuchos::RCP< const Epetra_Map > | get_g_map (int l) const |
Return response map. More... | |
Teuchos::RCP< const Teuchos::Array< std::string > > | get_p_names (int l) const |
Return array of parameter names. More... | |
Teuchos::RCP< const Epetra_Vector > | get_p_init (int l) const |
Return initial parameters. More... | |
InArgs | createInArgs () const |
Create InArgs. More... | |
OutArgs | createOutArgs () const |
Create OutArgs. More... | |
void | evalModel (const InArgs &inArgs, const OutArgs &outArgs) const |
Evaluate model on InArgs. More... | |
ModelEvaluator providing statistic response functions.
ResponseStatisticModelEvaluator is an implementation of EpetraExt::ModelEvaluator that wraps a response-only model evaluator and provides additional response functions that are statistics of some other stochastic response. Since it is designed to support derivatives w.r.t. the PCE coefficients of the parameters, the underlying model evaluator should be a block model evaluator.
Definition at line 63 of file Stokhos_ResponseStatisticModelEvaluator.hpp.
Stokhos::ResponseStatisticModelEvaluator::ResponseStatisticModelEvaluator | ( | const Teuchos::RCP< EpetraExt::ModelEvaluator > & | me, |
const Teuchos::Array< Teuchos::RCP< const Epetra_Map > > & | base_g_maps, | ||
const Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > & | sg_basis, | ||
const Teuchos::RCP< const EpetraExt::MultiComm > & | sg_comm, | ||
const Teuchos::RCP< const Epetra_BlockMap > & | block_map | ||
) |
Definition at line 48 of file Stokhos_ResponseStatisticModelEvaluator.cpp.
Teuchos::RCP< const Epetra_Map > Stokhos::ResponseStatisticModelEvaluator::get_x_map | ( | ) | const |
Return solution vector map.
Definition at line 72 of file Stokhos_ResponseStatisticModelEvaluator.cpp.
Teuchos::RCP< const Epetra_Map > Stokhos::ResponseStatisticModelEvaluator::get_f_map | ( | ) | const |
Return residual vector map.
Definition at line 79 of file Stokhos_ResponseStatisticModelEvaluator.cpp.
Teuchos::RCP< const Epetra_Map > Stokhos::ResponseStatisticModelEvaluator::get_p_map | ( | int | l | ) | const |
Return parameter vector map.
Definition at line 86 of file Stokhos_ResponseStatisticModelEvaluator.cpp.
Teuchos::RCP< const Epetra_Map > Stokhos::ResponseStatisticModelEvaluator::get_g_map | ( | int | l | ) | const |
Return response map.
Definition at line 99 of file Stokhos_ResponseStatisticModelEvaluator.cpp.
Teuchos::RCP< const Teuchos::Array< std::string > > Stokhos::ResponseStatisticModelEvaluator::get_p_names | ( | int | l | ) | const |
Return array of parameter names.
Definition at line 117 of file Stokhos_ResponseStatisticModelEvaluator.cpp.
Teuchos::RCP< const Epetra_Vector > Stokhos::ResponseStatisticModelEvaluator::get_p_init | ( | int | l | ) | const |
Return initial parameters.
Definition at line 130 of file Stokhos_ResponseStatisticModelEvaluator.cpp.
EpetraExt::ModelEvaluator::InArgs Stokhos::ResponseStatisticModelEvaluator::createInArgs | ( | ) | const |
Create InArgs.
Definition at line 142 of file Stokhos_ResponseStatisticModelEvaluator.cpp.
EpetraExt::ModelEvaluator::OutArgs Stokhos::ResponseStatisticModelEvaluator::createOutArgs | ( | ) | const |
Create OutArgs.
Definition at line 161 of file Stokhos_ResponseStatisticModelEvaluator.cpp.
void Stokhos::ResponseStatisticModelEvaluator::evalModel | ( | const InArgs & | inArgs, |
const OutArgs & | outArgs | ||
) | const |
Evaluate model on InArgs.
Definition at line 191 of file Stokhos_ResponseStatisticModelEvaluator.cpp.
|
protected |
Underlying model evaluator.
Definition at line 110 of file Stokhos_ResponseStatisticModelEvaluator.hpp.
|
protected |
Base maps of block g vectors.
Definition at line 113 of file Stokhos_ResponseStatisticModelEvaluator.hpp.
|
protected |
Stochastic Galerkin basis.
Definition at line 116 of file Stokhos_ResponseStatisticModelEvaluator.hpp.
|
protected |
Parallel SG communicator.
Definition at line 119 of file Stokhos_ResponseStatisticModelEvaluator.hpp.
|
protected |
Map for stochastic blocks.
Definition at line 122 of file Stokhos_ResponseStatisticModelEvaluator.hpp.
|
protected |
Number of parameters.
Definition at line 125 of file Stokhos_ResponseStatisticModelEvaluator.hpp.
|
protected |
Number of responses.
Definition at line 128 of file Stokhos_ResponseStatisticModelEvaluator.hpp.