mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #4030 from akva2/avoid_poly_includes
changed: no need to pull in polyhedralgrid if it is not used
This commit is contained in:
commit
42a2b36687
@ -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<>
|
||||
|
Loading…
Reference in New Issue
Block a user