/usr/include/dune/grid/alugrid/common/checkparallel.hh is in libdune-grid-dev 2.3.1-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_ALUGRID_CHECKPARALLEL_HH
#define DUNE_ALUGRID_CHECKPARALLEL_HH
#if HAVE_ALUGRID
#include <alugrid_defineparallel.h>
#if HAVE_MPI
// if this variable is defined,
// // then parallel version of ALUGrid is compiled
#if ALU3DGRID_BUILD_FOR_PARALLEL == 0
#warning "The ALUGrid-library wasn't compiled for parallel usage. Reconfigure\
using the MPI compiler script or compile Dune without the MPI support!\
Defaulting to serial ALUGrid!"
#define ALU3DGRID_PARALLEL 0
#else
#define ALU3DGRID_PARALLEL 1
#endif
#else // #if HAVE_MPI
#define ALU3DGRID_PARALLEL 0
#endif // #else // #if HAVE_MPI
#else // #if HAVE_ALUGRID
#define ALU3DGRID_PARALLEL 0
#endif // #else // #if HAVE_ALUGRID
#endif // #ifndef DUNE_ALUGRID_CHECKPARALLEL_HH
|