add check for gridType

This commit is contained in:
Tor Harald Sandve
2020-12-11 15:33:25 +01:00
parent 6cf91e7f19
commit 7a42a82c55
2 changed files with 17 additions and 0 deletions

View File

@@ -25,6 +25,9 @@ template <typename TypeTag>
BlackoilAquiferModel<TypeTag>::BlackoilAquiferModel(Simulator& simulator)
: simulator_(simulator)
{
// Grid needs to support Facetag
assert(supportsFaceTag(simulator.vanguard().grid()));
init();
}