NOX Development
Loading...
Searching...
No Matches
LOCA::TurningPoint::MooreSpence::SolverFactory Class Reference

Factory for creating solver objects for solving Moore-Spence turning point equations. More...

#include <LOCA_TurningPoint_MooreSpence_SolverFactory.H>

Public Member Functions

 SolverFactory (const Teuchos::RCP< LOCA::GlobalData > &global_data)
 Constructor.
virtual ~SolverFactory ()
 Destructor.
Teuchos::RCP< LOCA::TurningPoint::MooreSpence::SolverStrategycreate (const Teuchos::RCP< LOCA::Parameter::SublistParser > &topParams, const Teuchos::RCP< Teuchos::ParameterList > &solverParams)
 Create solver strategy.
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 solver objects for solving Moore-Spence turning point equations.

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

Constructor & Destructor Documentation

◆ SolverFactory()

LOCA::TurningPoint::MooreSpence::SolverFactory::SolverFactory ( const Teuchos::RCP< LOCA::GlobalData > & global_data)

Constructor.

References globalData.

Member Function Documentation

◆ create()

Teuchos::RCP< LOCA::TurningPoint::MooreSpence::SolverStrategy > LOCA::TurningPoint::MooreSpence::SolverFactory::create ( const Teuchos::RCP< LOCA::Parameter::SublistParser > & topParams,
const Teuchos::RCP< Teuchos::ParameterList > & solverParams )

Create solver strategy.

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

References globalData, and strategyName().

◆ strategyName()

const std::string & LOCA::TurningPoint::MooreSpence::SolverFactory::strategyName ( Teuchos::ParameterList & solverParams) const

Return strategy name given by solverParams.

Referenced by create().

Member Data Documentation

◆ globalData

Teuchos::RCP<LOCA::GlobalData> LOCA::TurningPoint::MooreSpence::SolverFactory::globalData
protected

Global data.

Referenced by create(), and SolverFactory().


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