• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

Albany_ProblemFactory.hpp

Go to the documentation of this file.
00001 //*****************************************************************//
00002 //    Albany 2.0:  Copyright 2012 Sandia Corporation               //
00003 //    This Software is released under the BSD license detailed     //
00004 //    in the file "license.txt" in the top-level Albany directory  //
00005 //*****************************************************************//
00006 
00007 #ifndef ALBANY_PROBLEMFACTORY_HPP
00008 #define ALBANY_PROBLEMFACTORY_HPP
00009 
00010 #include "Teuchos_ParameterList.hpp"
00011 #include "Teuchos_RCP.hpp"
00012 
00013 #include "Albany_AbstractProblem.hpp"
00014 
00015 namespace Albany {
00016 
00020   class ProblemFactory {
00021   public:
00022 
00024     ProblemFactory(const Teuchos::RCP<Teuchos::ParameterList>& problemParams,
00025                    const Teuchos::RCP<ParamLib>& paramLib,
00026        const Teuchos::RCP<const Epetra_Comm>& comm);
00027 
00029     virtual ~ProblemFactory() {}
00030 
00031     virtual Teuchos::RCP<Albany::AbstractProblem>
00032     create();
00033 
00034   private:
00035 
00037     ProblemFactory(const ProblemFactory&);
00038 
00040     ProblemFactory& operator=(const ProblemFactory&);
00041 
00042   protected:
00043 
00045     Teuchos::RCP<Teuchos::ParameterList> problemParams;
00046 
00048     Teuchos::RCP<ParamLib> paramLib;
00049 
00051     Teuchos::RCP<const Epetra_Comm> comm;
00052 
00053   };
00054 
00055 }
00056 
00057 #endif // ALBANY_PROBLEMFACTORY_HPP

Generated on Wed Mar 26 2014 18:36:36 for Albany: a Trilinos-based PDE code by  doxygen 1.7.1