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

Albany_SolutionCullingStrategy.hpp

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 #ifndef ALBANY_SOLUTIONCULLINGSTRATEGY_HPP
00008 #define ALBANY_SOLUTIONCULLINGSTRATEGY_HPP
00009 
00010 #include "Teuchos_Array.hpp"
00011 #include "Teuchos_RCP.hpp"
00012 #include "Teuchos_ParameterList.hpp"
00013 
00014 class Epetra_BlockMap;
00015 
00016 namespace Albany {
00017 
00018 class SolutionCullingStrategyBase {
00019 public:
00020   virtual void setup() {}
00021 
00022   virtual Teuchos::Array<int> selectedGIDs(const Epetra_BlockMap &sourceMap) const = 0;
00023 
00024   virtual ~SolutionCullingStrategyBase() {}
00025 };
00026 
00027 class Application; // Forward declaration
00028 
00030 Teuchos::RCP<SolutionCullingStrategyBase>
00031 createSolutionCullingStrategy(
00032     const Teuchos::RCP<const Application> &app,
00033     Teuchos::ParameterList &params);
00034 
00035 } // namespace Albany
00036 
00037 #endif // ALBANY_SOLUTIONCULLINGSTRATEGY_HPP

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