diff --git a/amr-wind/wind_energy/ABLFillInflow.cpp b/amr-wind/wind_energy/ABLFillInflow.cpp index 8d20de5722..c931428554 100644 --- a/amr-wind/wind_energy/ABLFillInflow.cpp +++ b/amr-wind/wind_energy/ABLFillInflow.cpp @@ -50,7 +50,7 @@ void ABLFillInflow::fillphysbc( FieldFillPatchOps::fillphysbc( lev, time, mfab, nghost, fstate); - m_bndry_plane.populate_data(lev, m_time.new_time(), m_field, mfab); + m_bndry_plane.populate_data(lev, time, m_field, mfab); } void ABLFillInflow::fillpatch_sibling_fields( @@ -105,10 +105,7 @@ void ABLFillInflow::fillpatch_sibling_fields( if (!plane_data_unchanged) { for (int i = 0; i < static_cast(mfabs.size()); i++) { - // use new_time to populate boundary data instead of half-time - // to avoid interpolating from precursor data - m_bndry_plane.populate_data( - lev, m_time.new_time(), m_field, *mfabs[i], 0, i); + m_bndry_plane.populate_data(lev, time, m_field, *mfabs[i], 0, i); } } }