NOX Development
Public Member Functions | Protected Attributes
LOCA::Eigensolver::Factory Class Reference

Factory for creating Eigensolver strategy objects. More...

#include <LOCA_Eigensolver_Factory.H>

Collaboration diagram for LOCA::Eigensolver::Factory:
Collaboration graph

List of all members.

Public Member Functions

 Factory (const Teuchos::RCP< LOCA::GlobalData > &global_data)
virtual ~Factory ()
< LOCA::Eigensolver::AbstractStrategy
create (const Teuchos::RCP< LOCA::Parameter::SublistParser > &topParams, const Teuchos::RCP< Teuchos::ParameterList > &eigenParams)
 Create eigensolver strategy.
const std::string & strategyName (Teuchos::ParameterList &eigenParams) const
 Return strategy name given by eigenParams.

Protected Attributes

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

Detailed Description

Factory for creating Eigensolver strategy objects.

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

There is also a LAPACK specific strategy that can be instantiated by the LOCA::LAPACK::Factory. See LOCA::Eigensolver::DGGEVStrategy.

Member Function Documentation

Teuchos::RCP< LOCA::Eigensolver::AbstractStrategy > LOCA::Eigensolver::Factory::create ( const Teuchos::RCP< LOCA::Parameter::SublistParser > &  topParams,
const Teuchos::RCP< Teuchos::ParameterList > &  eigenParams 

Create eigensolver strategy.

topParams[in] Parsed top-level parameter list.
eigenParams[in] Eigensolver parameters as described above

References Teuchos::RCP< T >::get(), and Teuchos::rcp().

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends