changed: no need to pull in polyhedralgrid if it is not used

This commit is contained in:
Arne Morten Kvarving 2022-08-26 08:22:07 +02:00
parent 432df26ecc
commit 71ca7a0c40

View File

@ -37,7 +37,9 @@
#include <opm/simulators/aquifers/AquiferNumerical.hpp>
#include <opm/grid/CpGrid.hpp>
#ifdef USE_POLYHEDRALGRID
#include <opm/grid/polyhedralgrid.hh>
#endif
#if HAVE_DUNE_ALUGRID
#include <dune/alugrid/grid.hh>
#endif
@ -62,10 +64,12 @@ class SupportsFaceTag<Dune::CpGrid>
{};
#ifdef USE_POLYHEDRALGRID
template<>
class SupportsFaceTag<Dune::PolyhedralGrid<3, 3>>
: public std::bool_constant<true>
{};
#endif
#if HAVE_DUNE_ALUGRID
template<>