- Home
- About DUNE
- Download
- Documentation
- Community
- Development
00001 #ifndef DUNE_ALBERTA_PERSISTENTCONTAINER_HH 00002 #define DUNE_ALBERTA_PERSISTENTCONTAINER_HH 00003 00004 #include <dune/grid/utility/persistentcontainer.hh> 00005 00006 #if HAVE_ALBERTA 00007 00008 namespace Dune 00009 { 00010 00011 // PersistentContainer for AlbertaGrid 00012 // ----------------------------------- 00013 00014 template< int dim, int dimworld, class Data, class Allocator > 00015 class PersistentContainer< AlbertaGrid< dim, dimworld >, Data, Allocator > 00016 : public PersistentContainerVector< AlbertaGrid< dim, dimworld >, typename AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< Data, Allocator > > 00017 { 00018 typedef AlbertaGrid< dim, dimworld > GridType; 00019 typedef PersistentContainerVector< GridType, typename GridType::HierarchicIndexSet, std::vector< Data, Allocator > > BaseType; 00020 00021 public: 00024 PersistentContainer ( const GridType &grid, const int codim, const Allocator &allocator = Allocator() ) 00025 : BaseType( grid, codim, grid.hierarchicIndexSet(), 1.1, allocator ) 00026 {} 00027 }; 00028 00029 } // end namespace Dune 00030 00031 #endif // #if HAVE_ALBERTA 00032 00033 #endif // #ifndef DUNE_ALU_PERSISTENTCONTAINER_HH
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].