Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SimpleME Class Reference

#include <SimpleME.hpp>

Inherits EpetraExt::ModelEvaluator, and EpetraExt::ModelEvaluator.

Public Member Functions

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

Overridden from EpetraExt::ModelEvaluator .

Teuchos::RCP< Epetra_Mapx_map
 Solution vector map.
 
Teuchos::RCP< Epetra_Mapx_overlapped_map
 Overlapped solution vector map.
 
Teuchos::RCP< Epetra_Importimporter
 Importer to overlapped distribution.
 
Teuchos::RCP< Epetra_Vectorx_init
 Initial guess.
 
Teuchos::RCP< Epetra_Vectorx_overlapped
 Overlapped solution vector.
 
Teuchos::RCP< Epetra_Mapp_map
 Parameter vector map.
 
Teuchos::RCP< Epetra_Vectorp_init
 Initial parameters.
 
Teuchos::RCP< Teuchos::Array< std::string > > p_names
 Parameter names.
 
Teuchos::RCP< Epetra_CrsGraphgraph
 Jacobian graph.
 
Teuchos::RCP< const Epetra_Mapget_x_map () const
 Return solution vector map.
 
Teuchos::RCP< const Epetra_Mapget_f_map () const
 Return residual vector map.
 
Teuchos::RCP< const Epetra_Mapget_p_map (int l) const
 Return parameter vector map.
 
Teuchos::RCP< const Teuchos::Array< std::string > > get_p_names (int l) const
 Return array of parameter names.
 
Teuchos::RCP< const Epetra_Vectorget_x_init () const
 Return initial solution.
 
Teuchos::RCP< const Epetra_Vectorget_p_init (int l) const
 Return initial parameters.
 
Teuchos::RCP< Epetra_Operatorcreate_W () const
 Create W = alpha*M + beta*J matrix.
 
InArgs createInArgs () const
 Create InArgs.
 
OutArgs createOutArgs () const
 Create OutArgs.
 
void evalModel (const InArgs &inArgs, const OutArgs &outArgs) const
 Evaluate model on InArgs.
 
Teuchos::RCP< const Epetra_Mapget_x_map () const
 Return solution vector map.
 
Teuchos::RCP< const Epetra_Mapget_f_map () const
 Return residual vector map.
 
Teuchos::RCP< const Epetra_Mapget_p_map (int l) const
 Return parameter vector map.
 
Teuchos::RCP< const Teuchos::Array< std::string > > get_p_names (int l) const
 Return array of parameter names.
 
Teuchos::RCP< const Epetra_Vectorget_x_init () const
 Return initial solution.
 
Teuchos::RCP< const Epetra_Vectorget_p_init (int l) const
 Return initial parameters.
 
Teuchos::RCP< Epetra_Operatorcreate_W () const
 Create W = alpha*M + beta*J matrix.
 
InArgs createInArgs () const
 Create InArgs.
 
OutArgs createOutArgs () const
 Create OutArgs.
 
void evalModel (const InArgs &inArgs, const OutArgs &outArgs) const
 Evaluate model on InArgs.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ SimpleME() [1/2]

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

Constructor.

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

◆ SimpleME() [2/2]

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

Constructor.

Member Function Documentation

◆ get_x_map() [1/2]

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

Return solution vector map.

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

◆ get_f_map() [1/2]

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

Return residual vector map.

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

◆ get_p_map() [1/2]

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.

◆ get_p_names() [1/2]

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.

◆ get_x_init() [1/2]

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

Return initial solution.

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

◆ get_p_init() [1/2]

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

Return initial parameters.

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

◆ create_W() [1/2]

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

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

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

◆ createInArgs() [1/2]

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

Create InArgs.

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

◆ createOutArgs() [1/2]

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

Create OutArgs.

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

◆ evalModel() [1/2]

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

Evaluate model on InArgs.

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

◆ get_x_map() [2/2]

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

Return solution vector map.

◆ get_f_map() [2/2]

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

Return residual vector map.

◆ get_p_map() [2/2]

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

Return parameter vector map.

◆ get_p_names() [2/2]

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

Return array of parameter names.

◆ get_x_init() [2/2]

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

Return initial solution.

◆ get_p_init() [2/2]

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

Return initial parameters.

◆ create_W() [2/2]

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

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

◆ createInArgs() [2/2]

InArgs SimpleME::createInArgs ( ) const

Create InArgs.

◆ createOutArgs() [2/2]

OutArgs SimpleME::createOutArgs ( ) const

Create OutArgs.

◆ evalModel() [2/2]

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

Evaluate model on InArgs.

Member Data Documentation

◆ x_map

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

Solution vector map.

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

◆ x_overlapped_map

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

Overlapped solution vector map.

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

◆ importer

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

Importer to overlapped distribution.

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

◆ x_init

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

Initial guess.

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

◆ x_overlapped

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

Overlapped solution vector.

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

◆ p_map

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

Parameter vector map.

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

◆ p_init

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

Initial parameters.

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

◆ p_names

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

Parameter names.

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

◆ graph

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: