changed: put SupportsFaceTag in separate header

this way we don't have to pull in alugrid and polyhedralgrid
in simulator objects that does not use them
This commit is contained in:
Arne Morten Kvarving
2024-02-27 09:18:25 +01:00
parent 75f38ca726
commit 5618a2b0d2
5 changed files with 61 additions and 36 deletions

View File

@@ -65,6 +65,12 @@ struct Vanguard<TypeTag, TTag::FlowProblemAlugrid> {
using type = Opm::AluGridVanguard<TypeTag>;
};
}
template<>
class SupportsFaceTag<Dune::ALUGrid<3, 3, Dune::cube, Dune::nonconforming>>
: public std::bool_constant<true>
{};
}
int main(int argc, char** argv)

View File

@@ -67,6 +67,12 @@ namespace Properties {
using type = Opm::EclPolyhedralGridVanguard<TypeTag>;
};
}
template<>
class SupportsFaceTag<Dune::PolyhedralGrid<3, 3>>
: public std::bool_constant<true>
{};
}
int main(int argc, char** argv)