dune-geometry
2.6-git
dune
geometry
dimension.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_GEOMETRY_DIMENSION_HH
4
#define DUNE_GEOMETRY_DIMENSION_HH
5
6
#include <type_traits>
7
8
namespace
Dune
{
9
11
template
<
int
dim>
12
struct
Dim
13
:
public
std::integral_constant<int,dim>
14
{
15
typedef
Dim
type
;
16
};
17
19
template
<
int
codim>
20
struct
Codim
21
:
public
std::integral_constant<int,codim>
22
{
23
typedef
Codim
type
;
24
};
25
26
}
27
28
#endif // DUNE_GEOMETRY_DIMENSION_HH
Dune::Dim::type
Dim type
Definition:
dimension.hh:15
Dune::Codim::type
Codim type
Definition:
dimension.hh:23
Dune::Dim
Static tag representing a dimension.
Definition:
dimension.hh:12
Dune::Codim
Static tag representing a codimension.
Definition:
dimension.hh:20
Dune
Definition:
affinegeometry.hh:18
Generated by
1.8.17