Stokhos
Development
|
ModelEvaluator providing statistic response functions. More...
#include <Stokhos_ResponseStatisticModelEvaluator.hpp>
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) | |
Overridden from EpetraExt::ModelEvaluator . | |
Teuchos::RCP< const Epetra_Map > | get_x_map () const |
Return solution vector map. | |
Teuchos::RCP< const Epetra_Map > | get_f_map () const |
Return residual vector map. | |
Teuchos::RCP< const Epetra_Map > | get_p_map (int l) const |
Return parameter vector map. | |
Teuchos::RCP< const Epetra_Map > | get_g_map (int l) const |
Return response map. | |
Teuchos::RCP< const Teuchos::Array< std::string > > | get_p_names (int l) const |
Return array of parameter names. | |
Teuchos::RCP< const Epetra_Vector > | get_p_init (int l) const |
Return initial parameters. | |
InArgs | createInArgs () const |
Create InArgs. | |
OutArgs | createOutArgs () const |
Create OutArgs. | |
void | evalModel (const InArgs &inArgs, const OutArgs &outArgs) const |
Evaluate model on InArgs. | |
Protected Attributes | |
Teuchos::RCP < EpetraExt::ModelEvaluator > | me |
Underlying model evaluator. | |
Teuchos::Array< Teuchos::RCP < const Epetra_Map > > | base_g_maps |
Base maps of block g vectors. | |
Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > | sg_basis |
Stochastic Galerkin basis. | |
Teuchos::RCP< const EpetraExt::MultiComm > | sg_comm |
Parallel SG communicator. | |
Teuchos::RCP< const Epetra_BlockMap > | block_map |
Map for stochastic blocks. | |
int | num_p |
Number of parameters. | |
int | num_g |
Number of responses. | |
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.