1 #ifndef DUNE_ALU_PERSISTENTCONTAINER_HH
2 #define DUNE_ALU_PERSISTENTCONTAINER_HH
13 template<
int dim,
int dimworld,
class Data,
class Allocator >
16 typename ALUConformGrid< dim, dimworld >::HierarchicIndexSet,
17 std::vector<Data,Allocator> >
28 :
BaseType( grid, codim, grid.hierarchicIndexSet(), 1.1, allocator )
32 template<
int dim,
int dimworld,
class Data,
class Allocator >
35 typename ALUCubeGrid< dim, dimworld >::HierarchicIndexSet,
36 std::vector<Data,Allocator> >
47 :
BaseType( grid, codim, grid.hierarchicIndexSet(), 1.1, allocator )
51 template<
int dim,
int dimworld,
class Data,
class Allocator >
54 typename ALUSimplexGrid< dim, dimworld >::HierarchicIndexSet,
55 std::vector<Data,Allocator> >
58 typedef ALUSimplexGrid< dim, dimworld >
GridType;
66 :
BaseType( grid, codim, grid.hierarchicIndexSet(), 1.1, allocator )
71 class Data,
class Allocator >
74 typename ALUGrid< dim, dimworld, eltype, refinementtype, Comm >::HierarchicIndexSet,
75 std::vector<Data,Allocator> >
78 typedef ALUGrid< dim, dimworld, eltype, refinementtype, Comm >
GridType;
86 :
BaseType( grid, codim, grid.hierarchicIndexSet(), 1.1, allocator )
90 template<
int dim,
int dimworld, ALU2DSPACE ElementType elType,
class Data,
class Allocator >
93 typename ALU2dGrid< dim, dimworld, elType >::HierarchicIndexSet,
94 std::vector<Data,Allocator> >
105 :
BaseType( grid, codim, grid.hierarchicIndexSet(), 1.1, allocator )
109 template< ALU3dGr
idElementType elType,
class Comm,
class Data,
class Allocator >
112 typename ALU3dGrid< elType, Comm >::HierarchicIndexSet,
113 std::vector<Data,Allocator> >
121 using BaseType :: index_;
128 :
BaseType( grid, codim, grid.hierarchicIndexSet(), 1.1, allocator )
133 const Data& getData (
const size_t idx )
const
135 assert( idx <
data_.size() );
143 #endif // end DUNE_ALU_PERSISTENTCONTAINER_HH