dune-grid  2.2.0
gridtype.hh
Go to the documentation of this file.
1 #ifndef DUNE_GRIDTYPE_HH
2 #define DUNE_GRIDTYPE_HH
3 
13 #ifndef HEADERCHECK
14 
15 // NOGRID is used to specify that no default was set during configure
16 // If NOGRID and HAVE_GRIDTYPE are both not set then no grid was selected
17 // and an error is produced
18 #if defined NOGRID
19  #if ! HAVE_GRIDTYPE
20  #error "No grid type selected, use GRIDTYPE=..."
21  #endif
22 #else
23  #if ! HAVE_GRIDTYPE
24  #error "No grid type selected, typo in GRIDTYPE=...?"
25  #endif
26 #endif
27 
28 #endif // HEADERCHECK
29 
30 #endif // DUNE_GRIDTYPE_HH