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 #include "Albany_NOXObserver.hpp" 00008 00009 #include "Teuchos_ENull.hpp" 00010 00011 Albany_NOXObserver::Albany_NOXObserver( 00012 const Teuchos::RCP<Albany::Application> &app_) : 00013 impl(app_) 00014 { 00015 // Nothing to do 00016 } 00017 00018 void Albany_NOXObserver::observeSolution( 00019 const Epetra_Vector& solution) 00020 { 00021 this->observeSolution(solution, impl.getTimeParamValueOrDefault(0.0)); 00022 } 00023 00024 void Albany_NOXObserver::observeSolution( 00025 const Epetra_Vector& solution, double time_or_param_val) 00026 { 00027 impl.observeSolution(time_or_param_val, solution, Teuchos::null); 00028 }