Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
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_Map > | get_x_map () const |
Return solution vector map. More... | |
Teuchos::RCP< const Epetra_Map > | get_f_map () const |
Return residual vector map. More... | |
Teuchos::RCP< const Epetra_Map > | get_p_map (int l) const |
Return parameter vector map. More... | |
Teuchos::RCP< const Epetra_Map > | get_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_Vector > | get_x_init () const |
Return initial solution. More... | |
Teuchos::RCP< const Epetra_Vector > | get_p_init (int l) const |
Return initial parameters. More... | |
Teuchos::RCP< Epetra_Operator > | create_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... | |
ModelEvaluator adapter that implements the multi-point evaluations through sampling.
Definition at line 56 of file Stokhos_MPModelEvaluatorAdapter.hpp.
Stokhos::MPModelEvaluatorAdapter::MPModelEvaluatorAdapter | ( | const Teuchos::RCP< EpetraExt::ModelEvaluator > & | me | ) |
Definition at line 50 of file Stokhos_MPModelEvaluatorAdapter.cpp.
Teuchos::RCP< const Epetra_Map > Stokhos::MPModelEvaluatorAdapter::get_x_map | ( | ) | const |
Return solution vector map.
Definition at line 60 of file Stokhos_MPModelEvaluatorAdapter.cpp.
Teuchos::RCP< const Epetra_Map > Stokhos::MPModelEvaluatorAdapter::get_f_map | ( | ) | const |
Return residual vector map.
Definition at line 67 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 74 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 81 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 88 of file Stokhos_MPModelEvaluatorAdapter.cpp.
Teuchos::RCP< const Epetra_Vector > Stokhos::MPModelEvaluatorAdapter::get_x_init | ( | ) | const |
Return initial solution.
Definition at line 95 of file Stokhos_MPModelEvaluatorAdapter.cpp.
Teuchos::RCP< const Epetra_Vector > Stokhos::MPModelEvaluatorAdapter::get_p_init | ( | int | l | ) | const |
Return initial parameters.
Definition at line 102 of file Stokhos_MPModelEvaluatorAdapter.cpp.
Teuchos::RCP< Epetra_Operator > Stokhos::MPModelEvaluatorAdapter::create_W | ( | ) | const |
Create W = alpha*M + beta*J matrix.
Definition at line 109 of file Stokhos_MPModelEvaluatorAdapter.cpp.
EpetraExt::ModelEvaluator::InArgs Stokhos::MPModelEvaluatorAdapter::createInArgs | ( | ) | const |
Create InArgs.
Definition at line 116 of file Stokhos_MPModelEvaluatorAdapter.cpp.
EpetraExt::ModelEvaluator::OutArgs Stokhos::MPModelEvaluatorAdapter::createOutArgs | ( | ) | const |
Create OutArgs.
Definition at line 139 of file Stokhos_MPModelEvaluatorAdapter.cpp.
void Stokhos::MPModelEvaluatorAdapter::evalModel | ( | const InArgs & | inArgs, |
const OutArgs & | outArgs | ||
) | const |
Evaluate model on InArgs.
Definition at line 185 of file Stokhos_MPModelEvaluatorAdapter.cpp.
|
protected |
Underlying model evaluator.
Definition at line 105 of file Stokhos_MPModelEvaluatorAdapter.hpp.