A factory class to instantiate AbstractProblem objects. More...
#include <Albany_ProblemFactory.hpp>
Public Member Functions | |
ProblemFactory (const Teuchos::RCP< Teuchos::ParameterList > &problemParams, const Teuchos::RCP< ParamLib > ¶mLib, const Teuchos::RCP< const Epetra_Comm > &comm) | |
Default constructor. | |
virtual | ~ProblemFactory () |
Destructor. | |
virtual Teuchos::RCP < Albany::AbstractProblem > | create () |
Protected Attributes | |
Teuchos::RCP < Teuchos::ParameterList > | problemParams |
Parameter list specifying what problem to create. | |
Teuchos::RCP< ParamLib > | paramLib |
Parameter library. | |
Teuchos::RCP< const Epetra_Comm > | comm |
MPI Communicator. | |
Private Member Functions | |
ProblemFactory (const ProblemFactory &) | |
Private to prohibit copying. | |
ProblemFactory & | operator= (const ProblemFactory &) |
Private to prohibit copying. |
A factory class to instantiate AbstractProblem objects.
Definition at line 20 of file Albany_ProblemFactory.hpp.
Albany::ProblemFactory::ProblemFactory | ( | const Teuchos::RCP< Teuchos::ParameterList > & | problemParams, | |
const Teuchos::RCP< ParamLib > & | paramLib, | |||
const Teuchos::RCP< const Epetra_Comm > & | comm | |||
) |
Default constructor.
Definition at line 66 of file Albany_ProblemFactory.cpp.
virtual Albany::ProblemFactory::~ProblemFactory | ( | ) | [inline, virtual] |
Destructor.
Definition at line 29 of file Albany_ProblemFactory.hpp.
Albany::ProblemFactory::ProblemFactory | ( | const ProblemFactory & | ) | [private] |
Private to prohibit copying.
Teuchos::RCP< Albany::AbstractProblem > Albany::ProblemFactory::create | ( | ) | [virtual] |
Definition at line 77 of file Albany_ProblemFactory.cpp.
ProblemFactory& Albany::ProblemFactory::operator= | ( | const ProblemFactory & | ) | [private] |
Private to prohibit copying.
Teuchos::RCP<Teuchos::ParameterList> Albany::ProblemFactory::problemParams [protected] |
Parameter list specifying what problem to create.
Definition at line 45 of file Albany_ProblemFactory.hpp.
Teuchos::RCP<ParamLib> Albany::ProblemFactory::paramLib [protected] |
Parameter library.
Definition at line 48 of file Albany_ProblemFactory.hpp.
Teuchos::RCP<const Epetra_Comm> Albany::ProblemFactory::comm [protected] |
MPI Communicator.
Definition at line 51 of file Albany_ProblemFactory.hpp.