Piro Development
Public Member Functions
Piro::SolverFactory Class Reference

Factory for creating Thyra-based Piro solvers. More...

#include <Piro_SolverFactory.hpp>

List of all members.

Public Member Functions

template<typename Scalar >
< Thyra::ResponseOnlyModelEvaluatorBase
< Scalar > > 
createSolver (const Teuchos::RCP< Teuchos::ParameterList > &piroParams, const Teuchos::RCP< Thyra::ModelEvaluator< Scalar > > &model, const Teuchos::RCP< Piro::ObserverBase< Scalar > > &observer=Teuchos::null)
 Create a solved model.

Detailed Description

Factory for creating Thyra-based Piro solvers.

Piro::Epetra::SolverFactory is the counterpart for Epetra-based models.

Member Function Documentation

template<typename Scalar >
Teuchos::RCP<Thyra::ResponseOnlyModelEvaluatorBase<Scalar> > Piro::SolverFactory::createSolver ( const Teuchos::RCP< Teuchos::ParameterList > &  piroParams,
const Teuchos::RCP< Thyra::ModelEvaluator< Scalar > > &  model,
const Teuchos::RCP< Piro::ObserverBase< Scalar > > &  observer = Teuchos::null 

Create a solved model.

The type of Piro solver to instantiate is determined by the value of the string entry labeled "Solver Type" and located at the top level of parameter list piroParams.

Currently, the following solver types are available (each accompanied by the corresponding token value):

For Epetra-based models, additional options are available in Piro::Epetra::SolverFactory.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations