Changeset 10714
- Timestamp:
- 2019-02-22T16:13:22+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/ICB/icbclv.F90
r10425 r10714 24 24 USE icbdia ! iceberg diagnostics 25 25 USE icbutl ! iceberg utility routines 26 USE icb_oce ! iceberg parameters 26 27 27 28 IMPLICIT NONE … … 57 58 ! this assumes that input is given as equivalent water flux so that pure water density is appropriate 58 59 59 zfact = ( (1000._wp)**3 / ( NINT(rday) * nyear_len(1) ) ) * 850._wp60 berg_grid%calving(:,:) = src_calving(:,:) * tmask_i(:,:) * zfact60 zfact = ( (1000._wp)**3 / ( NINT(rday) * nyear_len(1) ) ) * rn_rho_bergs 61 berg_grid%calving(:,:) = src_calving(:,:) * zfact * tmask_i(:,:) * tmask(:,:,1) 61 62 62 63 ! Heat in units of W/m2, and mask (just in case) 63 berg_grid%calving_hflx(:,:) = src_calving_hflx(:,:) * tmask_i(:,:) 64 berg_grid%calving_hflx(:,:) = src_calving_hflx(:,:) * tmask_i(:,:) * tmask(:,:,1) 64 65 65 66 IF( ll_first_call .AND. .NOT. l_restarted_bergs ) THEN ! This is a hack to simplify initialization
Note: See TracChangeset
for help on using the changeset viewer.