Stokhos Development
Public Member Functions | Protected Attributes
Stokhos::MPInverseModelEvaluator Class Reference

Nonlinear, inverse multi-point ModelEvaluator. More...

#include <Stokhos_MPInverseModelEvaluator.hpp>

List of all members.

Public Member Functions

 MPInverseModelEvaluator (const Teuchos::RCP< EpetraExt::ModelEvaluator > &me, const Teuchos::Array< int > &mp_p_index_map, const Teuchos::Array< int > &mp_g_index_map, const Teuchos::Array< Teuchos::RCP< const Epetra_Map > > &base_g_maps)
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< int > mp_p_index_map
 Mapping between multipoint block parameters and mp parameters.
Teuchos::Array< int > mp_g_index_map
 Mapping between stochastic block responses and sg responses.
Teuchos::Array< Teuchos::RCP
< const Epetra_Map > > 
base_g_maps
 Base maps of block g vectors.
int num_p
 Number of parameters.
int num_g
 Number of responses.
int num_p_mp
 Number of multi-point parameter vectors.
int num_g_mp
 Number of multi-point response vectors.

Detailed Description

Nonlinear, inverse multi-point ModelEvaluator.

MPInverseModelEvaluator is an implementation of EpetraExt::ModelEvaluator that does the inverse of MPModelEvalutor, namely it takes MP versions of the p InArgs and g and dg/dp OutArgs, and converts them to block vectors that are passed to the underlying model evaluator. This allows block nonlinear problems to appear as MP problems.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator