mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user