NOX
Development
|
Factory for creating Anasazi operator strategy objects. More...
#include <LOCA_AnasaziOperator_Factory.H>
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. More... | |
const std::string & | strategyName (Teuchos::ParameterList &eigenParams) const |
Return strategy name given by eigenParams . | |
Protected Attributes | |
Teuchos::RCP< LOCA::GlobalData > | globalData |
Global data. | |
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.
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.
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 |
References Teuchos::ParameterList::get(), and Teuchos::rcp().