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

Albany_ModelFactory.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 #ifndef ALBANY_MODELFACTORY_HPP
00007 #define ALBANY_MODELFACTORY_HPP
00008 
00009 #include "EpetraExt_ModelEvaluator.h"
00010 
00011 #include "Teuchos_RCP.hpp"
00012 #include "Teuchos_ParameterList.hpp"
00013 
00014 namespace Albany {
00015 
00016 class Application;
00017 
00018 class ModelFactory {
00019 public:
00020   ModelFactory(const Teuchos::RCP<Teuchos::ParameterList> &params,
00021                const Teuchos::RCP<Application> &app);
00022 
00023   Teuchos::RCP<EpetraExt::ModelEvaluator> create() const;
00024 
00025 private:
00026   Teuchos::RCP<Teuchos::ParameterList> params_;
00027   Teuchos::RCP<Application> app_;
00028 
00029   // Disallow copy & assignment
00030   ModelFactory(const ModelFactory &);
00031   ModelFactory &operator=(const ModelFactory &);
00032 };
00033 
00034 } // end namespace Albany
00035 
00036 #endif /* ALBANY_MODELFACTORY_HPP */

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