mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
unit conversion for the PLYSHLOG table.
insteading handling it in the opm-parser
This commit is contained in:
@@ -163,6 +163,15 @@ namespace Opm
|
||||
water_vel_vals_ = plyshlogTable.getWaterVelocityColumn();
|
||||
shear_vrf_vals_ = plyshlogTable.getShearMultiplierColumn();
|
||||
|
||||
// do the unit version here for the water_vel_vals_
|
||||
Opm::UnitSystem unitSystem = *deck->getActiveUnitSystem();
|
||||
double siFactor = unitSystem.parse("Length/Time")->getSIScaling();
|
||||
|
||||
for (size_t i = 0; i < water_vel_vals_.size(); ++i) {
|
||||
water_vel_vals_[i] *= siFactor;
|
||||
}
|
||||
|
||||
|
||||
plyshlog_ref_conc_ = plyshlogTable.getRefPolymerConcentration();
|
||||
|
||||
if(plyshlogTable.hasRefSalinity()) {
|
||||
|
||||
Reference in New Issue
Block a user