1#ifndef DUNE_ALU_PERSISTENTCONTAINER_HH
2#define DUNE_ALU_PERSISTENTCONTAINER_HH
4#include <dune/grid/utility/persistentcontainer.hh>
5#include <dune/grid/utility/persistentcontainervector.hh>
7#include <dune/alugrid/grid.hh>
15 template<
class G,
class T >
16 class ALUGridPersistentContainer
17 :
public PersistentContainerVector< G, typename G::HierarchicIndexSet, std::vector< T > >
19 typedef PersistentContainerVector< G, typename G::HierarchicIndexSet, std::vector< T > > Base;
22 typedef typename Base::Grid Grid;
23 typedef typename Base::Value Value;
26 typedef typename Base::Grid GridType;
28 ALUGridPersistentContainer (
const Grid &grid,
int codim,
const Value &value = Value() )
29 : Base( grid.hierarchicIndexSet(), codim, value )
37 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
class Comm,
class T >
38 class PersistentContainer< ALUGrid< dim, dimworld, eltype, refinementtype, Comm >, T >
39 :
public ALUGridPersistentContainer< ALUGrid< dim, dimworld, eltype, refinementtype, Comm >, T >
41 typedef ALUGridPersistentContainer< ALUGrid< dim, dimworld, eltype, refinementtype, Comm >, T > Base;
44 typedef typename Base::Grid Grid;
45 typedef typename Base::Value Value;
48 typedef typename Base::Grid GridType;
50 PersistentContainer (
const Grid &grid,
int codim,
const Value &value = Value() )
51 : Base( grid, codim, value )
55 template<
int dim,
int dimworld, ALU3dGr
idElementType elType,
class Comm,
class T >
56 class PersistentContainer< ALU3dGrid< dim, dimworld, elType, Comm >, T >
57 :
public ALUGridPersistentContainer< ALU3dGrid< dim, dimworld, elType, Comm >, T >
59 typedef ALUGridPersistentContainer< ALU3dGrid< dim, dimworld, elType, Comm >, T > Base;
62 typedef typename Base::Grid Grid;
63 typedef typename Base::Value Value;
66 typedef typename Base::Grid GridType;
68 PersistentContainer (
const Grid &grid,
int codim,
const Value &value = Value() )
69 : Base( grid, codim, value )
Dune namespace.
Definition: alignedallocator.hh:13