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

MOR_NOXEpetraCompositeObserver.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 MOR_NOXEPETRACOMPOSITEOBSERVER_HPP
00007 #define MOR_NOXEPETRACOMPOSITEOBSERVER_HPP
00008 
00009 #include "NOX_Epetra_Observer.H"
00010 
00011 #include "Teuchos_RCP.hpp"
00012 #include "Teuchos_Array.hpp"
00013 
00014 namespace MOR {
00015 
00016 class NOXEpetraCompositeObserver : public NOX::Epetra::Observer {
00017 public:
00019   virtual void observeSolution(const Epetra_Vector& solution);
00020 
00022   virtual void observeSolution(const Epetra_Vector& solution, double time_or_param_val);
00023 
00024   int observerCount() const;
00025   void addObserver(const Teuchos::RCP<NOX::Epetra::Observer> &);
00026 
00027 private:
00028   typedef Teuchos::Array<Teuchos::RCP<NOX::Epetra::Observer> > ObserverSequence;
00029   ObserverSequence observers_;
00030 };
00031 
00032 } // end namespace MOR
00033 
00034 #endif /* MOR_NOXEPETRACOMPOSITEOBSERVER_HPP */
00035 

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