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

Albany_NOXObserver.cpp

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 
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 }

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