Public Member Functions | Protected Attributes | Private Member Functions

Albany::ProblemFactory Class Reference

A factory class to instantiate AbstractProblem objects. More...

#include <Albany_ProblemFactory.hpp>

List of all members.

Public Member Functions

 ProblemFactory (const Teuchos::RCP< Teuchos::ParameterList > &problemParams, const Teuchos::RCP< ParamLib > &paramLib, 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< ParamLibparamLib
 Parameter library.
Teuchos::RCP< const Epetra_Comm > comm
 MPI Communicator.

Private Member Functions

 ProblemFactory (const ProblemFactory &)
 Private to prohibit copying.
ProblemFactoryoperator= (const ProblemFactory &)
 Private to prohibit copying.

Detailed Description

A factory class to instantiate AbstractProblem objects.

Definition at line 20 of file Albany_ProblemFactory.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

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.


The documentation for this class was generated from the following files: