An epetra model evaluator adapter for setting up a multi-point solver. More...
#include <Piro_Epetra_StokhosMPSolver.hpp>
Public Member Functions | |
Constructors/initializers | |
StokhosMPSolver (const Teuchos::RCP< Teuchos::ParameterList > &piroParams, const Teuchos::RCP< Teuchos::ParameterList > &mpParams, const Teuchos::RCP< const Epetra_Comm > &globalComm, int block_size, int num_spatial_procs) | |
Constructor. | |
Teuchos::RCP< const Epetra_Comm > | getSpatialComm () const |
Get spatial comm. | |
Teuchos::RCP< const Epetra_Comm > | getStochasticComm () const |
Get stochastic comm. | |
Teuchos::RCP< const EpetraExt::MultiComm > | getGlobalMultiComm () const |
Get global multi-comm. | |
void | setup (const Teuchos::RCP< EpetraExt::ModelEvaluator > &model, const Teuchos::RCP< NOX::Epetra::Observer > &noxObserver=Teuchos::null) |
Setup rest of model evaluator. | |
Overridden from EpetraExt::ModelEvaluator . | |
Teuchos::RCP< const Epetra_Map > | get_p_map (int l) const |
Teuchos::RCP< const Epetra_Map > | get_g_map (int j) const |
Teuchos::RCP< const Epetra_Vector > | get_p_init (int l) const |
EpetraExt::ModelEvaluator::InArgs | createInArgs () const |
EpetraExt::ModelEvaluator::OutArgs | createOutArgs () const |
void | evalModel (const InArgs &inArgs, const OutArgs &outArgs) const |
Accessors | |
Teuchos::RCP < Stokhos::MPModelEvaluator > | get_mp_model () const |
void | set_x_mp_init (const Stokhos::ProductEpetraVector &x_mp_in) |
Set initial solution polynomial. | |
Teuchos::RCP< const Stokhos::ProductEpetraVector > | get_x_mp_init () const |
Return initial MP x. | |
void | set_p_mp_init (int i, const Stokhos::ProductEpetraVector &p_mp_in) |
Set initial parameter polynomial. | |
Teuchos::RCP< const Stokhos::ProductEpetraVector > | get_p_mp_init (int l) const |
Get initial parameter polynomial. | |
Teuchos::RCP < Stokhos::ProductEpetraVector > | create_x_mp (Epetra_DataAccess CV=Copy, const Epetra_Vector *v=NULL) const |
Create vector orthog poly using x map and owned mp map. | |
Teuchos::RCP < Stokhos::ProductEpetraVector > | create_p_mp (int l, Epetra_DataAccess CV=Copy, const Epetra_Vector *v=NULL) const |
Create vector orthog poly using p map. | |
Teuchos::RCP < Stokhos::ProductEpetraMultiVector > | create_p_mv_mp (int l, int num_vecs, Epetra_DataAccess CV=Copy, const Epetra_MultiVector *v=NULL) const |
Create multi-point vector using p map. | |
Teuchos::RCP < Stokhos::ProductEpetraVector > | create_g_mp (int l, Epetra_DataAccess CV=Copy, const Epetra_Vector *v=NULL) const |
Create vector orthog poly using g map. | |
Teuchos::RCP < Stokhos::ProductEpetraMultiVector > | create_g_mv_mp (int l, int num_vecs, Epetra_DataAccess CV=Copy, const Epetra_MultiVector *v=NULL) const |
Create multi-vector orthog poly using g map. | |
An epetra model evaluator adapter for setting up a multi-point solver.
EpetraExt::ModelEvaluator::InArgs Piro::Epetra::StokhosMPSolver::createInArgs | ( | ) | const |