Dune Core Modules (2.6.0)

gridtype.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_GRIDTYPE_HH
4#define DUNE_GRIDTYPE_HH
5
15#ifndef HEADERCHECK
16
17// NOGRID is used to specify that no default was set during configure
18// If NOGRID and HAVE_GRIDTYPE are both not set then no grid was selected
19// and an error is produced
20#if defined NOGRID
21 #if ! HAVE_GRIDTYPE
22 #error "No grid type selected, use GRIDTYPE=..."
23 #endif
24#else
25 #if ! HAVE_GRIDTYPE
26 #error "No grid type selected, typo in GRIDTYPE=...?"
27 #endif
28#endif
29
30#endif // HEADERCHECK
31
32#endif // DUNE_GRIDTYPE_HH
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 24, 23:30, 2024)