/usr/include/dune/geometry/dimension.hh is in libdune-geometry-dev 2.5.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifndef DUNE_GEOMETRY_DIMENSION_HH
#define DUNE_GEOMETRY_DIMENSION_HH
#include <type_traits>
namespace Dune {
//! Static tag representing a dimension.
template<int dim>
struct Dim
: public std::integral_constant<int,dim>
{
typedef Dim type;
};
//! Static tag representing a codimension.
template<int codim>
struct Codim
: public std::integral_constant<int,codim>
{
typedef Codim type;
};
}
#endif // DUNE_GEOMETRY_DIMENSION_HH
|