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_NOXOBSERVER 00008 #define ALBANY_NOXOBSERVER 00009 00010 #include "NOX_Epetra_Observer.H" 00011 00012 #include "Albany_Application.hpp" 00013 #include "Albany_ObserverImpl.hpp" 00014 00015 class Albany_NOXObserver : public NOX::Epetra::Observer 00016 { 00017 public: 00018 Albany_NOXObserver( 00019 const Teuchos::RCP<Albany::Application> &app_); 00020 00022 void observeSolution( 00023 const Epetra_Vector& solution); 00024 00026 void observeSolution( 00027 const Epetra_Vector& solution, double time_or_param_val); 00028 00029 private: 00030 Albany::ObserverImpl impl; 00031 }; 00032 00033 #endif //ALBANY_NOXOBSERVER