Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
Stokhos::MPModelEvaluatorAdapter Class Reference

ModelEvaluator adapter that implements the multi-point evaluations through sampling. More...

#include <Stokhos_MPModelEvaluatorAdapter.hpp>

Inherits ModelEvaluator.

Public Member Functions

 MPModelEvaluatorAdapter (const Teuchos::RCP< EpetraExt::ModelEvaluator > &me)
 

Protected Attributes

Teuchos::RCP
< EpetraExt::ModelEvaluator > 
me
 Underlying model evaluator. More...
 

Overridden from EpetraExt::ModelEvaluator .

Teuchos::RCP< const Epetra_Mapget_x_map () const
 Return solution vector map. More...
 
Teuchos::RCP< const Epetra_Mapget_f_map () const
 Return residual vector map. More...
 
Teuchos::RCP< const Epetra_Mapget_p_map (int l) const
 Return parameter vector map. More...
 
Teuchos::RCP< const Epetra_Mapget_g_map (int l) const
 Return observation vector 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_Vectorget_x_init () const
 Return initial solution. More...
 
Teuchos::RCP< const Epetra_Vectorget_p_init (int l) const
 Return initial parameters. More...
 
Teuchos::RCP< Epetra_Operatorcreate_W () const
 Create W = alpha*M + beta*J matrix. 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...
 

Detailed Description

ModelEvaluator adapter that implements the multi-point evaluations through sampling.

Definition at line 24 of file Stokhos_MPModelEvaluatorAdapter.hpp.

Constructor & Destructor Documentation

Stokhos::MPModelEvaluatorAdapter::MPModelEvaluatorAdapter ( const Teuchos::RCP< EpetraExt::ModelEvaluator > &  me)

Definition at line 18 of file Stokhos_MPModelEvaluatorAdapter.cpp.

Member Function Documentation

Teuchos::RCP< const Epetra_Map > Stokhos::MPModelEvaluatorAdapter::get_x_map ( ) const

Return solution vector map.

Definition at line 28 of file Stokhos_MPModelEvaluatorAdapter.cpp.

Teuchos::RCP< const Epetra_Map > Stokhos::MPModelEvaluatorAdapter::get_f_map ( ) const

Return residual vector map.

Definition at line 35 of file Stokhos_MPModelEvaluatorAdapter.cpp.

Teuchos::RCP< const Epetra_Map > Stokhos::MPModelEvaluatorAdapter::get_p_map ( int  l) const

Return parameter vector map.

Definition at line 42 of file Stokhos_MPModelEvaluatorAdapter.cpp.

Teuchos::RCP< const Epetra_Map > Stokhos::MPModelEvaluatorAdapter::get_g_map ( int  l) const

Return observation vector map.

Definition at line 49 of file Stokhos_MPModelEvaluatorAdapter.cpp.

Teuchos::RCP< const Teuchos::Array< std::string > > Stokhos::MPModelEvaluatorAdapter::get_p_names ( int  l) const

Return array of parameter names.

Definition at line 56 of file Stokhos_MPModelEvaluatorAdapter.cpp.

Teuchos::RCP< const Epetra_Vector > Stokhos::MPModelEvaluatorAdapter::get_x_init ( ) const

Return initial solution.

Definition at line 63 of file Stokhos_MPModelEvaluatorAdapter.cpp.

Teuchos::RCP< const Epetra_Vector > Stokhos::MPModelEvaluatorAdapter::get_p_init ( int  l) const

Return initial parameters.

Definition at line 70 of file Stokhos_MPModelEvaluatorAdapter.cpp.

Teuchos::RCP< Epetra_Operator > Stokhos::MPModelEvaluatorAdapter::create_W ( ) const

Create W = alpha*M + beta*J matrix.

Definition at line 77 of file Stokhos_MPModelEvaluatorAdapter.cpp.

EpetraExt::ModelEvaluator::InArgs Stokhos::MPModelEvaluatorAdapter::createInArgs ( ) const

Create InArgs.

Definition at line 84 of file Stokhos_MPModelEvaluatorAdapter.cpp.

EpetraExt::ModelEvaluator::OutArgs Stokhos::MPModelEvaluatorAdapter::createOutArgs ( ) const

Create OutArgs.

Definition at line 107 of file Stokhos_MPModelEvaluatorAdapter.cpp.

void Stokhos::MPModelEvaluatorAdapter::evalModel ( const InArgs &  inArgs,
const OutArgs &  outArgs 
) const

Evaluate model on InArgs.

Definition at line 153 of file Stokhos_MPModelEvaluatorAdapter.cpp.

Member Data Documentation

Teuchos::RCP<EpetraExt::ModelEvaluator> Stokhos::MPModelEvaluatorAdapter::me
protected

Underlying model evaluator.

Definition at line 73 of file Stokhos_MPModelEvaluatorAdapter.hpp.


The documentation for this class was generated from the following files: