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

AAdapt_SolutionObserver.hpp

Go to the documentation of this file.
00001 #ifndef AADAPT_SOLUTIONOBSERVER_HPP
00002 #define AADAPT_SOLUTIONOBSERVER_HPP
00003 
00004 #include "Piro_SolutionObserverBase.hpp"
00005 
00006 namespace AAdapt {
00007 
00008 class SolutionObserver : public Piro::SolutionObserverBase<double, const Thyra::VectorBase<double> > {
00009 
00010 public:
00011 
00012   SolutionObserver() {}
00013 
00014   void observeResponse(
00015       int j,
00016       const Teuchos::RCP<Thyra::ModelEvaluatorBase::OutArgs<double> >& outArgs,
00017       const Teuchos::RCP<Teuchos::Array<Teuchos::RCP<const Thyra::VectorBase<double> > > > &responses,
00018       const Teuchos::RCP<const Thyra::VectorBase<double> > &g);
00019 
00020   void set_g_vector(int j, const Teuchos::RCP<Thyra::VectorBase<double> >& g_j);
00021 
00022   virtual ~SolutionObserver() {}
00023 
00024 private:
00025 
00026     Teuchos::RCP<Thyra::ModelEvaluatorBase::OutArgs<double> > outArgs;
00027     Teuchos::RCP<Teuchos::Array<Teuchos::RCP<const Thyra::VectorBase<double> > > > responses;
00028 
00029 };
00030 
00031 } // namespace Adapt
00032 
00033 #endif /* AADAPT_SOLUTIONOBSERVER_HPP */

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