Skip to content
Snippets Groups Projects
Commit 361dec3e authored by Robert Kloefkorn's avatar Robert Kloefkorn
Browse files

added checkparalel.hh

parent df2411ef
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ namespace ALUGrid
} // namespace ALUGrid
//#include <dune/alugrid/common/checkparallel.hh>
#include <dune/alugrid/common/checkparallel.hh>
// if MPI was found include all headers
#if ALU3DGRID_PARALLEL
......
alucommondir = $(includedir)/dune/alugrid/common
alucommon_HEADERS = backuprestore.hh \
bndprojection.hh \
capabilities.hh \
declaration.hh \
defaultindexsets.hh \
geostorage.hh \
intersectioniteratorwrapper.hh \
interfaces.hh \
memory.hh \
objectfactory.hh \
persistentcontainer.hh \
transformation.hh
bndprojection.hh \
capabilities.hh \
checkparallel.hh \
declaration.hh \
defaultindexsets.hh \
geostorage.hh \
intersectioniteratorwrapper.hh \
interfaces.hh \
memory.hh \
objectfactory.hh \
persistentcontainer.hh \
transformation.hh
include $(top_srcdir)/am/global-rules
#ifndef DUNE_ALUGRID_CHECKPARALLEL_HH
#define DUNE_ALUGRID_CHECKPARALLEL_HH
#if HAVE_MPI
// if this variable is defined,
// then parallel version of ALUGrid is compiled
#if HAVE_DUNE_ALUGRID_MPI
#define ALU3DGRID_PARALLEL 1
#else
#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
#endif
#else // #if HAVE_MPI
#define ALU3DGRID_PARALLEL 0
#endif // #else // #if HAVE_MPI
#endif // #ifndef DUNE_ALUGRID_CHECKPARALLEL_HH
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment