Skip to content

Commit

Permalink
Pass melt/freeze potential to coupler; reset melt_potential
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-marques committed Aug 3, 2018
1 parent eb2c69f commit c6b2534
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config_src/mct_driver/ocn_cap_methods.F90
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,9 @@ subroutine ocn_export(ind, ocn_public, grid, o2x, dt_int, ncouple_per_day)
o2x(ind%o2x_Fioo_q, n) = ocn_public%frazil(ig,jg) * grid%mask2dT(i,j) * I_time_int
else
! Melt_potential: change from J/m^2 to W/m^2
o2x(ind%o2x_Fioo_q, n) = -ocn_public%melt_potential(ig,jg) * grid%mask2dT(i,j) !* I_time_int * ncouple_per_day
o2x(ind%o2x_Fioo_q, n) = -ocn_public%melt_potential(ig,jg) * grid%mask2dT(i,j) * I_time_int !* ncouple_per_day
! reset melt_potential
ocn_public%melt_potential(ig,jg) = 0.0
endif
! Make a copy of ssh in order to do a halo update. We use the usual MOM domain
! in order to update halos. i.e. does not use global indexing.
Expand Down

0 comments on commit c6b2534

Please sign in to comment.