dune-grid
2.11
Toggle main menu visibility
Loading...
Searching...
No Matches
dune
grid
geometrygrid
geometrygrid/persistentcontainer.hh
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
2
// SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
3
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
4
// vi: set et ts=4 sw=2 sts=2:
5
#ifndef DUNE_GEOGRID_PERSISTENTCONTAINER_HH
6
#define DUNE_GEOGRID_PERSISTENTCONTAINER_HH
7
8
#include <
dune/grid/geometrygrid/declaration.hh
>
9
#include <
dune/grid/utility/persistentcontainer.hh
>
10
#include <
dune/grid/utility/persistentcontainerwrapper.hh
>
11
12
namespace
Dune
13
{
14
15
// PersistentContainer for GeometryGrid
16
// ------------------------------------
17
18
template
<
class
HostGr
id
,
class
CoordFunction,
class
Allocator,
class
T >
19
class
PersistentContainer
<
GeometryGrid
< HostGrid, CoordFunction, Allocator >, T >
20
:
public
PersistentContainerWrapper
< GeometryGrid< HostGrid, CoordFunction, Allocator >, T >
21
{
22
typedef
PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator >
, T > Base;
23
24
public
:
25
typedef
typename
Base::Grid
Grid
;
26
typedef
typename
Base::Value
Value
;
27
28
PersistentContainer
(
const
Grid
&
grid
,
int
codim,
const
Value
&value =
Value
() )
29
: Base(
grid
, codim, value )
30
{}
31
};
32
33
}
// namespace Dune
34
35
#endif
// #ifndef DUNE_GEOGRID_PERSISTENTCONTAINER_HH
declaration.hh
persistentcontainerwrapper.hh
Dune
Include standard header files.
Definition
agrid.hh:60
Dune::GeometryGrid
grid wrapper replacing the geometries
Definition
geometrygrid/grid.hh:86
Dune::PersistentContainer< GeometryGrid< HostGrid, CoordFunction, Allocator >, T >::Value
Base::Value Value
Definition
geometrygrid/persistentcontainer.hh:26
Dune::PersistentContainer< GeometryGrid< HostGrid, CoordFunction, Allocator >, T >::Grid
Base::Grid Grid
Definition
geometrygrid/persistentcontainer.hh:25
Dune::PersistentContainer< GeometryGrid< HostGrid, CoordFunction, Allocator >, T >::PersistentContainer
PersistentContainer(const Grid &grid, int codim, const Value &value=Value())
Definition
geometrygrid/persistentcontainer.hh:28
Dune::PersistentContainer::Value
Base::Value Value
Definition
utility/persistentcontainer.hh:27
Dune::PersistentContainer< GeometryGrid< HostGrid, CoordFunction, Allocator >, T >::grid
const Grid & grid() const
Definition
persistentcontainermap.hh:114
Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator >, T >::Grid
GeometryGrid< HostGrid, CoordFunction, Allocator > Grid
Definition
persistentcontainerwrapper.hh:28
Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator >, T >::Value
PersistentContainer< HostGrid, T >::Value Value
Definition
persistentcontainerwrapper.hh:30
Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator >, T >::PersistentContainerWrapper
PersistentContainerWrapper(const Grid &grid, int codim, const Value &value=Value())
Definition
persistentcontainerwrapper.hh:36
persistentcontainer.hh
Generated by
1.17.0