LOCA::BorderedSolver::Factory Class Reference

Factory for creating BorderedSolver strategy objects. More...

#include <LOCA_BorderedSolver_Factory.H>

List of all members.

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.
const string & strategyName (Teuchos::ParameterList &solverParams) const
 Return strategy name given by solverParams.

Protected Attributes

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

Private Member Functions

 Factory (const Factory &)
 Private to prohibit copying.
Factoryoperator= (const Factory &)
 Private to prohibit copying.


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.

Definition at line 85 of file LOCA_BorderedSolver_Factory.H.


Constructor & Destructor Documentation

LOCA::BorderedSolver::Factory::Factory ( const Teuchos::RCP< LOCA::GlobalData > &  global_data  ) 

Constructor.

Definition at line 51 of file LOCA_BorderedSolver_Factory.C.

LOCA::BorderedSolver::Factory::~Factory (  )  [virtual]

Destructor.

Definition at line 57 of file LOCA_BorderedSolver_Factory.C.

LOCA::BorderedSolver::Factory::Factory ( const Factory  )  [private]

Private to prohibit copying.


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

Definition at line 62 of file LOCA_BorderedSolver_Factory.C.

References globalData, and strategyName().

Referenced by LOCA::Factory::createBorderedSolverStrategy().

const string & LOCA::BorderedSolver::Factory::strategyName ( Teuchos::ParameterList &  solverParams  )  const

Return strategy name given by solverParams.

Definition at line 108 of file LOCA_BorderedSolver_Factory.C.

Referenced by create(), and LOCA::Factory::createBorderedSolverStrategy().

Factory& LOCA::BorderedSolver::Factory::operator= ( const Factory  )  [private]

Private to prohibit copying.


Member Data Documentation

Global data.

Definition at line 119 of file LOCA_BorderedSolver_Factory.H.

Referenced by create().


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

Generated on Wed Oct 21 14:28:28 2009 for Nonlinear Solver Project by  doxygen 1.5.9