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_GENERALIZEDCOORDINATESNOXOBSERVER_HPP 00007 #define MOR_GENERALIZEDCOORDINATESNOXOBSERVER_HPP 00008 00009 #include "MOR_GeneralizedCoordinatesOutput.hpp" 00010 00011 #include "NOX_Epetra_Observer.H" 00012 00013 namespace MOR { 00014 00015 class GeneralizedCoordinatesNOXObserver : public NOX::Epetra::Observer { 00016 public: 00017 GeneralizedCoordinatesNOXObserver(const std::string &filename, const std::string &stampsFilename); 00018 00019 virtual void observeSolution(const Epetra_Vector& solution); 00020 virtual void observeSolution(const Epetra_Vector& solution, double time_or_param_val); 00021 00022 private: 00023 GeneralizedCoordinatesOutput impl_; 00024 }; 00025 00026 } // end namespace MOR 00027 00028 #endif /* MOR_GENERALIZEDCOORDINATESNOXOBSERVER_HPP */