dune-grid
2.3beta2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
dune
grid
geometrygrid
geometrygrid/persistentcontainer.hh
Go to the documentation of this file.
1
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2
// vi: set et ts=4 sw=2 sts=2:
3
#ifndef DUNE_GEOGRID_PERSISTENTCONTAINER_HH
4
#define DUNE_GEOGRID_PERSISTENTCONTAINER_HH
5
6
#include <
dune/grid/geometrygrid/declaration.hh
>
7
#include <
dune/grid/utility/persistentcontainer.hh
>
8
#include <
dune/grid/utility/persistentcontainerwrapper.hh
>
9
10
namespace
Dune
11
{
12
13
// PersistentContainer for GeometryGrid
14
// ------------------------------------
15
16
template
<
class
HostGr
id
,
class
CoordFunction,
class
Allocator,
class
T >
17
class
PersistentContainer
<
GeometryGrid
< HostGrid, CoordFunction, Allocator >, T >
18
:
public
PersistentContainerWrapper
< GeometryGrid< HostGrid, CoordFunction, Allocator >, T >
19
{
20
typedef
PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator >
, T >
Base
;
21
22
public
:
23
typedef
typename
Base::Grid
Grid
;
24
typedef
typename
Base::Value
Value
;
25
26
PersistentContainer
(
const
Grid
&
grid
,
int
codim,
const
Value
&value =
Value
() )
27
:
Base
( grid, codim, value )
28
{}
29
};
30
31
}
// namespace Dune
32
33
#endif // #ifndef DUNE_GEOGRID_PERSISTENTCONTAINER_HH
Generated on Mon Feb 10 2014 21:12:35 for dune-grid by
1.8.1.2