opm-grid
Toggle main menu visibility
Loading...
Searching...
No Matches
gridhelpers.hh
1
/*
2
Copyright 2015 IRIS AS
3
4
This file is part of the Open Porous Media project (OPM).
5
6
OPM is free software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
OPM is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with OPM. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
#ifndef DUNE_POLYHEDRALGRID_GRIDHELPERS_HEADER_INCLUDED
20
#define DUNE_POLYHEDRALGRID_GRIDHELPERS_HEADER_INCLUDED
21
22
#include <opm/grid/GridHelpers.hpp>
23
#include <opm/grid/polyhedralgrid.hh>
24
25
namespace
Opm
26
{
27
namespace
UgGridHelpers
28
{
29
30
template
<
int
dim,
int
dimworld>
31
struct
CellCentroidTraits
<
Dune
::PolyhedralGrid< dim, dimworld > >
32
:
public
CellCentroidTraits
<UnstructuredGrid>
33
{
34
};
35
36
template
<
int
dim,
int
dimworld>
37
struct
CellVolumeIteratorTraits
<
Dune
::PolyhedralGrid< dim, dimworld > >
38
:
public
CellVolumeIteratorTraits
<UnstructuredGrid>
39
{
40
};
41
42
template
<
int
dim,
int
dimworld>
43
struct
FaceCentroidTraits
<
Dune
::PolyhedralGrid< dim, dimworld > >
44
:
public
FaceCentroidTraits
< UnstructuredGrid >
45
{
46
};
47
48
template
<
int
dim,
int
dimworld>
49
struct
Cell2FacesTraits
<
Dune
::PolyhedralGrid< dim, dimworld > >
50
:
public
Cell2FacesTraits
<UnstructuredGrid>
51
{
52
};
53
54
template
<
int
dim,
int
dimworld>
55
struct
Face2VerticesTraits
<
Dune
::PolyhedralGrid< dim, dimworld > >
56
:
public
Face2VerticesTraits
<UnstructuredGrid>
57
{
58
};
59
60
template
<
int
dim,
int
dimworld>
61
struct
FaceCellTraits
<
Dune
::PolyhedralGrid< dim, dimworld > >
62
:
public
FaceCellTraits
<UnstructuredGrid>
63
{
64
};
65
66
}
// end namespace UGGridHelpers
67
}
// end namespace OPM
68
#endif
Dune
The namespace Dune is the main namespace for all Dune code.
Definition
CartesianIndexMapper.hpp:10
Opm
Holds the implementation of the CpGrid as a pimple.
Definition
CellQuadrature.cpp:68
Opm::UgGridHelpers::Cell2FacesTraits
Maps the grid type to the associated type of the cell to faces mapping.
Definition
GridHelpers.hpp:280
Opm::UgGridHelpers::CellCentroidTraits
Traits of the cell centroids of a grid.
Definition
GridHelpers.hpp:129
Opm::UgGridHelpers::CellVolumeIteratorTraits
The mapping of the grid type to type of the iterator over the cell volumes.
Definition
GridHelpers.hpp:194
Opm::UgGridHelpers::Face2VerticesTraits
Maps the grid type to the associated type of the face to vertices mapping.
Definition
GridHelpers.hpp:295
Opm::UgGridHelpers::FaceCellTraits
Traits of the face to attached cell mappping of a grid.
Definition
GridHelpers.hpp:337
Opm::UgGridHelpers::FaceCentroidTraits
Traits of the face centroids of a grid.
Definition
GridHelpers.hpp:244
opm
grid
polyhedralgrid
gridhelpers.hh
Generated by
1.17.0