DUNE
dune-geometry
2.8.0
Loading...
Searching...
No Matches
dune-geometry
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
Dune::Dim
Static tag representing a dimension.
Definition
dimension.hh:14
Dune::Dim::type
Dim type
Definition
dimension.hh:15
Dune::Codim
Static tag representing a codimension.
Definition
dimension.hh:22
Dune::Codim::type
Codim type
Definition
dimension.hh:23
std::integral_constant
type_traits
Legal Statements / Impressum
| Hosted by
TU Dresden
&
Uni Heidelberg
| Generated by
1.9.8