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
SimpleME Class Reference

#include <SimpleME.hpp>

Inherits ModelEvaluator, and ModelEvaluator.

Public Member Functions

 SimpleME (const Teuchos::RCP< const Epetra_Comm > &comm)
 Constructor. More...
 
 SimpleME (const Teuchos::RCP< const Epetra_Comm > &comm)
 Constructor. More...
 

Protected Attributes

Teuchos::RCP< Epetra_Mapx_map
 Solution vector map. More...
 
Teuchos::RCP< Epetra_Mapx_overlapped_map
 Overlapped solution vector map. More...
 
Teuchos::RCP< Epetra_Importimporter
 Importer to overlapped distribution. More...
 
Teuchos::RCP< Epetra_Vectorx_init
 Initial guess. More...
 
Teuchos::RCP< Epetra_Vectorx_overlapped
 Overlapped solution vector. More...
 
Teuchos::RCP< Epetra_Mapp_map
 Parameter vector map. More...
 
Teuchos::RCP< Epetra_Vectorp_init
 Initial parameters. More...
 
Teuchos::RCP< Teuchos::Array
< std::string > > 
p_names
 Parameter names. More...
 
Teuchos::RCP< Epetra_CrsGraphgraph
 Jacobian graph. 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
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...
 
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
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

Definition at line 69 of file epetra/SimpleME.hpp.

Constructor & Destructor Documentation

SimpleME::SimpleME ( const Teuchos::RCP< const Epetra_Comm > &  comm)

Constructor.

Definition at line 48 of file epetra/SimpleME.cpp.

SimpleME::SimpleME ( const Teuchos::RCP< const Epetra_Comm > &  comm)

Constructor.

Member Function Documentation

Teuchos::RCP< const Epetra_Map > SimpleME::get_x_map ( ) const

Return solution vector map.

Definition at line 92 of file epetra/SimpleME.cpp.

Teuchos::RCP< const Epetra_Map > SimpleME::get_f_map ( ) const

Return residual vector map.

Definition at line 98 of file epetra/SimpleME.cpp.

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

Return parameter vector map.

Definition at line 104 of file epetra/SimpleME.cpp.

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

Return array of parameter names.

Definition at line 116 of file epetra/SimpleME.cpp.

Teuchos::RCP< const Epetra_Vector > SimpleME::get_x_init ( ) const

Return initial solution.

Definition at line 128 of file epetra/SimpleME.cpp.

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

Return initial parameters.

Definition at line 134 of file epetra/SimpleME.cpp.

Teuchos::RCP< Epetra_Operator > SimpleME::create_W ( ) const

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

Definition at line 146 of file epetra/SimpleME.cpp.

EpetraExt::ModelEvaluator::InArgs SimpleME::createInArgs ( ) const

Create InArgs.

Definition at line 156 of file epetra/SimpleME.cpp.

EpetraExt::ModelEvaluator::OutArgs SimpleME::createOutArgs ( ) const

Create OutArgs.

Definition at line 176 of file epetra/SimpleME.cpp.

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

Evaluate model on InArgs.

Definition at line 194 of file epetra/SimpleME.cpp.

Teuchos::RCP<const Epetra_Map> SimpleME::get_x_map ( ) const

Return solution vector map.

Teuchos::RCP<const Epetra_Map> SimpleME::get_f_map ( ) const

Return residual vector map.

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

Return parameter vector map.

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

Return array of parameter names.

Teuchos::RCP<const Epetra_Vector> SimpleME::get_x_init ( ) const

Return initial solution.

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

Return initial parameters.

Teuchos::RCP<Epetra_Operator> SimpleME::create_W ( ) const

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

InArgs SimpleME::createInArgs ( ) const

Create InArgs.

OutArgs SimpleME::createOutArgs ( ) const

Create OutArgs.

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

Evaluate model on InArgs.

Member Data Documentation

Teuchos::RCP< Epetra_Map > SimpleME::x_map
protected

Solution vector map.

Definition at line 114 of file epetra/SimpleME.hpp.

Teuchos::RCP< Epetra_Map > SimpleME::x_overlapped_map
protected

Overlapped solution vector map.

Definition at line 117 of file epetra/SimpleME.hpp.

Teuchos::RCP< Epetra_Import > SimpleME::importer
protected

Importer to overlapped distribution.

Definition at line 120 of file epetra/SimpleME.hpp.

Teuchos::RCP< Epetra_Vector > SimpleME::x_init
protected

Initial guess.

Definition at line 123 of file epetra/SimpleME.hpp.

Teuchos::RCP< Epetra_Vector > SimpleME::x_overlapped
protected

Overlapped solution vector.

Definition at line 126 of file epetra/SimpleME.hpp.

Teuchos::RCP< Epetra_Map > SimpleME::p_map
protected

Parameter vector map.

Definition at line 129 of file epetra/SimpleME.hpp.

Teuchos::RCP< Epetra_Vector > SimpleME::p_init
protected

Initial parameters.

Definition at line 132 of file epetra/SimpleME.hpp.

Teuchos::RCP< Teuchos::Array< std::string > > SimpleME::p_names
protected

Parameter names.

Definition at line 135 of file epetra/SimpleME.hpp.

Teuchos::RCP< Epetra_CrsGraph > SimpleME::graph
protected

Jacobian graph.

Definition at line 138 of file epetra/SimpleME.hpp.


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