mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3664 Pressure Depletion: report correct units for initial WBHP.
This commit is contained in:
parent
97f3cbc18d
commit
37f1cde219
@ -374,7 +374,8 @@ std::map<int, std::vector<std::pair<QString, QString>>> RicExportCompletionDataS
|
||||
¤tWellPressure);
|
||||
if (initialWellProductionTimeStep >= 0)
|
||||
{
|
||||
wellProductionStartStrings[initialWellProductionTimeStep].push_back(std::make_pair(wellPath->name(), QString("%1 Bar").arg(initialWellPressure, 4, 'f', 1)));
|
||||
QString pressureUnits = RiaEclipseUnitTools::unitStringPressure(wellPath->unitSystem());
|
||||
wellProductionStartStrings[initialWellProductionTimeStep].push_back(std::make_pair(wellPath->name(), QString("%1 %2").arg(initialWellPressure, 4, 'f', 1).arg(pressureUnits)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user