Go to the documentation of this file.00001
00002
00003
00004
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 }
00033
00034 #endif
00035