Skip to content

Commit

Permalink
Bugfix: use dt not rk4 substep in wettingVelocity routine
Browse files Browse the repository at this point in the history
  • Loading branch information
cbegeman committed Oct 6, 2022
1 parent 64122a4 commit d8c848f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/mpas-ocean/src/shared/mpas_ocn_wetting_drying.F
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ subroutine ocn_prevent_drying_rk4(block, dt, rkSubstepWeight, config_zero_drying
! ensure cells stay wet by selectively damping cells with a damping tendency to make sure tendency doesn't dry cells
call ocn_wetting_drying_wettingVelocity(layerThickEdgeFlux, layerThicknessCur, layerThicknessProvis, &
normalTransportVelocity, rkSubstepWeight, wettingVelocityFactor, err)
normalTransportVelocity, dt, wettingVelocityFactor, err)
! prevent drying from happening with selective wettingVelocityFactor
if (config_zero_drying_velocity) then
Expand Down

0 comments on commit d8c848f

Please sign in to comment.