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

Albany_ObserverFactory.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_OBSERVERFACTORY_HPP
00007 #define ALBANY_OBSERVERFACTORY_HPP
00008 
00009 #include "NOX_Epetra_Observer.H"
00010 #include "Rythmos_IntegrationObserverBase.hpp"
00011 #include "Teuchos_RCP.hpp"
00012 #include "Teuchos_ParameterList.hpp"
00013 
00014 namespace Albany {
00015 
00016 class Application;
00017 
00018 class NOXObserverFactory {
00019 public:
00020   explicit NOXObserverFactory(const Teuchos::RCP<Application> &app);
00021 
00022   Teuchos::RCP<NOX::Epetra::Observer> createInstance();
00023 
00024 private:
00025   Teuchos::RCP<Application> app_;
00026 };
00027 
00028 class RythmosObserverFactory {
00029 public:
00030   explicit RythmosObserverFactory(const Teuchos::RCP<Application> &app);
00031 
00032   Teuchos::RCP<Rythmos::IntegrationObserverBase<double> > createInstance();
00033 
00034 private:
00035   Teuchos::RCP<Application> app_;
00036 };
00037 
00038 } // namespace Albany
00039 
00040 #endif /* ALBANY_OBSERVERFACTORY_HPP */

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