Merge pull request #739 from GitPaean/fixing_bugs_without_plyshlog

only calculating representative radius when having PLYSHLOG.
This commit is contained in:
Atgeirr Flø Rasmussen
2016-06-27 13:52:14 +02:00
committed by GitHub

View File

@@ -123,7 +123,9 @@ namespace Opm
polymer_inflow_c);
well_state.polymerInflow() = polymer_inflow_c;
computeRepRadiusPerfLength(BaseType::eclipse_state_, timer.currentStepNum(), BaseType::grid_, wells_rep_radius_, wells_perf_length_, wells_bore_diameter_);
if (has_plyshlog_) {
computeRepRadiusPerfLength(BaseType::eclipse_state_, timer.currentStepNum(), BaseType::grid_, wells_rep_radius_, wells_perf_length_, wells_bore_diameter_);
}
}