LOCA::SaveEigenData::Factory Class Reference

Factory for creating strategy objects to save eigenvectors/values. More...

#include <LOCA_SaveEigenData_Factory.H>

Collaboration diagram for LOCA::SaveEigenData::Factory:

List of all members.

Public Member Functions

 Factory (const Teuchos::RefCountPtr< LOCA::GlobalData > &global_data)
virtual ~Factory ()
Teuchos::RefCountPtr< LOCA::SaveEigenData::AbstractStrategycreate (const Teuchos::RefCountPtr< LOCA::Parameter::SublistParser > &topParams, const Teuchos::RefCountPtr< NOX::Parameter::List > &eigenParams)
 Create strategy to save eigenvectors/values.
const string & strategyName (NOX::Parameter::List &eigenParams) const
 Return strategy name given by eigenParams.

Protected Attributes

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

Detailed Description

Factory for creating strategy objects to save eigenvectors/values.

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.

User-defined strategies are defined by supplying the parameter "User-Defined Save Eigen Data Name" which is the string name of the strategy, and then a parameter with this name that is of the type Teuchos::RefCountPtr<LOCA::SaveEigenData::AbstractStrategy>. This allows the user to supply a user-defined strategy without providing a factory to instantiate it. By supplying the name of the parameter storing the strategy, the user can provide multiple strategies in the parameter list and select among them by setting "User-Defined Save Eigen Data Name" to be the name of the strategy.

Member Function Documentation

Teuchos::RefCountPtr< LOCA::SaveEigenData::AbstractStrategy > LOCA::SaveEigenData::Factory::create const Teuchos::RefCountPtr< LOCA::Parameter::SublistParser > &  topParams,
const Teuchos::RefCountPtr< NOX::Parameter::List > &  eigenParams

Create strategy to save eigenvectors/values.

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

The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:40:47 2008 for NOX by doxygen