LOCA::AnasaziOperator::Factory Class Reference

Factory for creating Anasazi operator strategy objects. More...

#include <LOCA_AnasaziOperator_Factory.H>

List of all members.

Public Member Functions

 Factory (const Teuchos::RCP< LOCA::GlobalData > &global_data)
 Constructor.
virtual ~Factory ()
 Destructor.
Teuchos::RCP
< LOCA::AnasaziOperator::AbstractStrategy
create (const Teuchos::RCP< LOCA::Parameter::SublistParser > &topParams, const Teuchos::RCP< Teuchos::ParameterList > &eigenParams, const Teuchos::RCP< Teuchos::ParameterList > &solverParams, const Teuchos::RCP< NOX::Abstract::Group > &grp)
 Create Anasazi operator strategy.
const string & strategyName (Teuchos::ParameterList &eigenParams) const
 Return strategy name given by eigenParams.

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 Anasazi operator strategy objects.

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

There is also an Epetra specific strategy that can be instantiated by the LOCA::Epetra::Factory. See LOCA::Epetra::AnasaziOperator::Floquet.

Definition at line 85 of file LOCA_AnasaziOperator_Factory.H.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 52 of file LOCA_AnasaziOperator_Factory.C.

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

Destructor.

Definition at line 58 of file LOCA_AnasaziOperator_Factory.C.

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

Private to prohibit copying.


Member Function Documentation

Teuchos::RCP< LOCA::AnasaziOperator::AbstractStrategy > LOCA::AnasaziOperator::Factory::create ( const Teuchos::RCP< LOCA::Parameter::SublistParser > &  topParams,
const Teuchos::RCP< Teuchos::ParameterList > &  eigenParams,
const Teuchos::RCP< Teuchos::ParameterList > &  solverParams,
const Teuchos::RCP< NOX::Abstract::Group > &  grp 
)

Create Anasazi operator strategy.

Parameters:
topParams [in] Parsed top-level parameter list.
eigenParams [in] Eigensolver parameters as described above
solverParams [in] Linear solver parameters
grp [in] Group representing Jacobian/mass matrices

Definition at line 63 of file LOCA_AnasaziOperator_Factory.C.

References globalData, and strategyName().

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

const string & LOCA::AnasaziOperator::Factory::strategyName ( Teuchos::ParameterList &  eigenParams  )  const

Return strategy name given by eigenParams.

Definition at line 137 of file LOCA_AnasaziOperator_Factory.C.

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

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

Private to prohibit copying.


Member Data Documentation

Global data.

Definition at line 123 of file LOCA_AnasaziOperator_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