Go to the documentation of this file. 1 #ifndef DUNE_ALUGRID_CHECKPARALLEL_HH
2 #define DUNE_ALUGRID_CHECKPARALLEL_HH
5 #include <alugrid_defineparallel.h>
10 #if ALU3DGRID_BUILD_FOR_PARALLEL == 0
11 #warning "The ALUGrid-library wasn't compiled for parallel usage. Reconfigure\
12 using the MPI compiler script or compile Dune without the MPI support!\
13 Defaulting to serial ALUGrid!"
14 #define ALU3DGRID_PARALLEL 0
16 #define ALU3DGRID_PARALLEL 1
19 #define ALU3DGRID_PARALLEL 0
20 #endif // #else // #if HAVE_MPI
22 #else // #if HAVE_ALUGRID
23 #define ALU3DGRID_PARALLEL 0
24 #endif // #else // #if HAVE_ALUGRID
26 #endif // #ifndef DUNE_ALUGRID_CHECKPARALLEL_HH