10 #ifndef STOKHOS_MP_MODEL_EVALUATOR_ADAPTER_HPP
11 #define STOKHOS_MP_MODEL_EVALUATOR_ADAPTER_HPP
13 #include "EpetraExt_ModelEvaluator.h"
66 void evalModel(
const InArgs& inArgs,
const OutArgs& outArgs)
const;
79 #endif // STOKHOS_MP_MODEL_EVALUATOR_ADAPTER_HPP
Teuchos::RCP< const Epetra_Map > get_g_map(int l) const
Return observation vector map.
ModelEvaluator adapter that implements the multi-point evaluations through sampling.
MPModelEvaluatorAdapter(const Teuchos::RCP< EpetraExt::ModelEvaluator > &me)
Teuchos::RCP< const Epetra_Map > get_f_map() const
Return residual vector map.
void evalModel(const InArgs &inArgs, const OutArgs &outArgs) const
Evaluate model on InArgs.
Teuchos::RCP< const Epetra_Vector > get_x_init() const
Return initial solution.
Teuchos::RCP< const Epetra_Map > get_x_map() const
Return solution vector map.
Teuchos::RCP< const Epetra_Map > get_p_map(int l) const
Return parameter vector map.
Teuchos::RCP< const Epetra_Vector > get_p_init(int l) const
Return initial parameters.
InArgs createInArgs() const
Create InArgs.
Teuchos::RCP< const Teuchos::Array< std::string > > get_p_names(int l) const
Return array of parameter names.
Teuchos::RCP< Epetra_Operator > create_W() const
Create W = alpha*M + beta*J matrix.
Teuchos::RCP< EpetraExt::ModelEvaluator > me
Underlying model evaluator.
OutArgs createOutArgs() const
Create OutArgs.