mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-02 20:30:55 -06:00
Merge pull request #2286 from akva2/avoid_deck_unitsystem
changed: avoid deck usage
This commit is contained in:
1 file changed
+1
-1
@@ -99,7 +99,7 @@ public:
|
||||
EclTransmissibility(const Vanguard& vanguard)
|
||||
: vanguard_(vanguard)
|
||||
{
|
||||
const Opm::UnitSystem& unitSystem = vanguard_.deck().getActiveUnitSystem();
|
||||
const Opm::UnitSystem& unitSystem = vanguard_.eclState().getDeckUnitSystem();
|
||||
transmissibilityThreshold_ = unitSystem.parse("Transmissibility").getSIScaling() * 1e-6;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user