only calculating repesentative radius when having PLYSHLOG.

This commit is contained in:
Kai Bao 2016-06-24 10:00:06 +02:00
parent 7649e43145
commit d2c822e37a

View File

@ -123,8 +123,10 @@ namespace Opm
polymer_inflow_c); polymer_inflow_c);
well_state.polymerInflow() = polymer_inflow_c; well_state.polymerInflow() = polymer_inflow_c;
if (has_plyshlog_) {
computeRepRadiusPerfLength(BaseType::eclipse_state_, timer.currentStepNum(), BaseType::grid_, wells_rep_radius_, wells_perf_length_, wells_bore_diameter_); computeRepRadiusPerfLength(BaseType::eclipse_state_, timer.currentStepNum(), BaseType::grid_, wells_rep_radius_, wells_perf_length_, wells_bore_diameter_);
} }
}
template <class GridT> template <class GridT>