only calculating repesentative radius when having PLYSHLOG.

This commit is contained in:
Kai Bao 2016-06-24 10:00:06 +02:00 committed by Liu Ming
parent d37b60c6cf
commit a1cc880ad7

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_);
}
}