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

MOR_GeneralizedCoordinatesNOXObserver.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 "MOR_GeneralizedCoordinatesNOXObserver.hpp"
00008 
00009 namespace MOR {
00010 
00011 GeneralizedCoordinatesNOXObserver::GeneralizedCoordinatesNOXObserver(
00012     const std::string &filename,
00013     const std::string &stampsFilename) :
00014   impl_(filename, stampsFilename)
00015 {
00016   // Nothing to do
00017 }
00018 
00019 void
00020 GeneralizedCoordinatesNOXObserver::observeSolution(const Epetra_Vector& solution)
00021 {
00022   impl_.vectorAdd(solution);
00023 }
00024 
00025 void
00026 GeneralizedCoordinatesNOXObserver::observeSolution(const Epetra_Vector& solution, double time_or_param_val)
00027 {
00028   impl_.stampedVectorAdd(time_or_param_val, solution);
00029 }
00030 
00031 } // end namespace MOR

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