3 #ifndef DUNE_PERSISTENTCONTAINERVECTOR_HH
4 #define DUNE_PERSISTENTCONTAINERVECTOR_HH
16 template<
class G,
class IndexSet,
class Vector >
24 typedef typename Vector::value_type
Value;
25 typedef typename Vector::size_type
Size;
35 data_( indexSet.
size( codim ), value, allocator )
38 template<
class Entity >
43 assert( index <
data_.size() );
44 return data_[ index ];
47 template<
class Entity >
52 assert( index <
data_.size() );
53 return data_[ index ];
56 template<
class Entity >
60 assert( index <
data_.size() );
61 return data_[ index ];
64 template<
class Entity >
68 assert( index <
data_.size() );
69 return data_[ index ];
77 data_.resize( indexSetSize, value );
103 typedef Value Data DUNE_DEPRECATED_MSG(
"Use Value instead.");
131 #endif // #ifndef DUNE_PERSISTENTCONTAINERVECTOR_HH