mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
add check for gridType
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user