10 #ifndef STOKHOS_SGINVERSEMODELEVALUATOR_HPP
11 #define STOKHOS_SGINVERSEMODELEVALUATOR_HPP
13 #include "EpetraExt_ModelEvaluator.h"
66 void evalModel(
const InArgs& inArgs,
const OutArgs& outArgs)
const;
100 #endif // STOKHOS_SGMODELEVALUATOR_HPP
Teuchos::Array< Teuchos::RCP< const Epetra_Map > > base_g_maps
Base maps of block g vectors.
Teuchos::RCP< const Epetra_Map > get_p_map(int l) const
Return parameter vector map.
Teuchos::Array< int > sg_g_index_map
Mapping between stochastic block responses and sg responses.
Teuchos::RCP< const Epetra_Map > get_x_map() const
Return solution vector map.
SGInverseModelEvaluator(const Teuchos::RCP< EpetraExt::ModelEvaluator > &me, const Teuchos::Array< int > &sg_p_index_map, const Teuchos::Array< int > &sg_g_index_map, const Teuchos::Array< Teuchos::RCP< const Epetra_Map > > &base_g_maps)
InArgs createInArgs() const
Create InArgs.
Teuchos::RCP< EpetraExt::ModelEvaluator > me
Underlying model evaluator.
OutArgs createOutArgs() const
Create OutArgs.
int num_g_sg
Number of stochastic response vectors.
int num_p_sg
Number of stochastic parameter vectors.
int num_p
Number of parameters.
void evalModel(const InArgs &inArgs, const OutArgs &outArgs) const
Evaluate model on InArgs.
Nonlinear, inverse stochastic Galerkin ModelEvaluator.
Teuchos::RCP< const Epetra_Map > get_f_map() const
Return residual vector map.
Teuchos::RCP< const Epetra_Map > get_g_map(int l) const
Return response map.
int num_g
Number of responses.
Teuchos::Array< int > sg_p_index_map
Mapping between stochastic block parameters and sg parameters.
Teuchos::RCP< const Epetra_Vector > get_p_init(int l) const
Return initial parameters.
Teuchos::RCP< const Teuchos::Array< std::string > > get_p_names(int l) const
Return array of parameter names.