/usr/include/ug/dimension.h is in libdune-uggrid-dev 2.5.1-2.
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 29 30 31 32 33 34 35 | // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
/** \file
\brief Provide the usual preprocessor-defines for the dimension and complain
if the dimension was set incorrectly.
*/
#ifndef DIMENSION_H
#define DIMENSION_H
#ifdef UG_DIM_2
#ifdef UG_DIM_3
#error **** define EITHER dimension UG_DIM_2 OR UG_DIM_3 ****
#endif
#define __TWODIM__
#define DIM 2
#define DIM_OF_BND 1
#endif
#ifdef UG_DIM_3
#define __THREEDIM__
#define DIM 3
#define DIM_OF_BND 2
#endif
#ifndef UG_DIM_2
#ifndef UG_DIM_3
#error **** define at least dimension two OR three ****
#endif
#endif
#endif
|