NOX  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
LOCA::BorderedSolver::Factory Class Reference

Factory for creating BorderedSolver strategy objects. More...

#include <LOCA_BorderedSolver_Factory.H>

Collaboration diagram for LOCA::BorderedSolver::Factory:
Collaboration graph
[legend]

Public Member Functions

 Factory (const Teuchos::RCP< LOCA::GlobalData > &global_data)
 Constructor.
 
virtual ~Factory ()
 Destructor.
 
Teuchos::RCP
< LOCA::BorderedSolver::AbstractStrategy
create (const Teuchos::RCP< LOCA::Parameter::SublistParser > &topParams, const Teuchos::RCP< Teuchos::ParameterList > &solverParams)
 Create bordered system solver strategy. More...
 
const std::string & strategyName (Teuchos::ParameterList &solverParams) const
 Return strategy name given by solverParams.
 

Protected Attributes

Teuchos::RCP< LOCA::GlobalDataglobalData
 Global data.
 

Detailed Description

Factory for creating BorderedSolver strategy objects.

The parameters passed to the create() through the solverParams argument method should specify the "Bordered Solver Method" as described below, as well as any additional parameters for the particular strategy.

There are also Epetra and LAPACK specific strategies that can be instantiated by the LOCA::Epetra::Factory and LOCA::LAPACK::Factory. See LOCA::BorderedSolver::LAPACKDirectSolve, LOCA::BorderedSolver::EpetraHouseholder and LOCA::BorderedSolver::Epetra::Augmented.

Member Function Documentation

Teuchos::RCP< LOCA::BorderedSolver::AbstractStrategy > LOCA::BorderedSolver::Factory::create ( const Teuchos::RCP< LOCA::Parameter::SublistParser > &  topParams,
const Teuchos::RCP< Teuchos::ParameterList > &  solverParams 
)

Create bordered system solver strategy.

Parameters
topParams[in] Parsed top-level parameter list.
solverParams[in] Solver parameters as described above

References Teuchos::ParameterList::get(), and Teuchos::rcp().


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