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

Albany_Catalyst_Adapter.hpp

Go to the documentation of this file.
00001 //*****************************************************************//
00002 //    Albany 2.0:  Copyright 2013 Kitware Inc.                     //
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 #ifndef ALBANY_CATALYST_ADAPTER
00008 #define ALBANY_CATALYST_ADAPTER
00009 
00010 #include <string>
00011 #include "Teuchos_ParameterList.hpp"
00012 
00013 class Epetra_Vector;
00014 class vtkCPPipeline;
00015 
00016 namespace Albany {
00017 namespace Catalyst {
00018 class Decorator;
00019 
00020 class Adapter
00021 {
00022 public:
00024   static Adapter * initialize(const Teuchos::RCP<Teuchos::ParameterList> &catalystParams);
00025   static Adapter * get();
00026   static void cleanup();
00028 
00030   bool addPythonScriptPipeline(const std::string &filename);
00031 
00033   bool addPipeline(vtkCPPipeline *pipeline);
00034 
00036   void update(int timeStep, double time, Decorator &decorator,
00037               const Epetra_Vector &soln);
00038 
00040   static Teuchos::RCP<const Teuchos::ParameterList> getValidAdapterParameters();
00041 
00042 private:
00043   static Adapter *instance;
00044   Adapter();
00045   ~Adapter();
00046 
00047   Adapter(const Adapter &); // Not implemented.
00048   void operator=(const Adapter &);   // Not implemented.
00049 
00050   class Private;
00051   Private * const d;
00052 };
00053 
00054 } // end namespace Catalyst
00055 } // end namespace Albany
00056 
00057 #endif // ALBANY_CATALYST_ADAPTER

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