#include <LOCA_BorderedSolver_Factory.H>
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::GlobalData > | globalData |
Global data. | |
Private Member Functions | |
Factory (const Factory &) | |
Private to prohibit copying. | |
Factory & | operator= (const Factory &) |
Private to prohibit copying. |
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.
LOCA::BorderedSolver::Factory::Factory | ( | const Teuchos::RCP< LOCA::GlobalData > & | global_data | ) |
LOCA::BorderedSolver::Factory::~Factory | ( | ) | [virtual] |
LOCA::BorderedSolver::Factory::Factory | ( | const Factory & | ) | [private] |
Private to prohibit copying.
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.
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().
Private to prohibit copying.
Teuchos::RCP<LOCA::GlobalData> LOCA::BorderedSolver::Factory::globalData [protected] |