New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 4345 for branches/2013/dev_r4028_CNRS_LIM3/NEMOGCM/NEMO/LIM_SRC_3/limsbc.F90 – NEMO

Ignore:
Timestamp:
2014-01-10T16:59:04+01:00 (10 years ago)
Author:
clem
Message:

clean the glob_sum diags and make scalar.nc work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r4028_CNRS_LIM3/NEMOGCM/NEMO/LIM_SRC_3/limsbc.F90

    r4332 r4345  
    2424   !!---------------------------------------------------------------------- 
    2525   USE par_oce          ! ocean parameters 
     26   USE phycst           ! physical constants 
    2627   USE par_ice          ! ice parameters 
    2728   USE dom_oce          ! ocean domain 
     29   USE dom_ice,    ONLY : tms 
     30   USE ice              ! LIM sea-ice variables 
    2831   USE sbc_ice          ! Surface boundary condition: sea-ice fields 
    2932   USE sbc_oce          ! Surface boundary condition: ocean fields 
    30    USE phycst           ! physical constants 
     33   USE sbccpl 
     34   USE cpl_oasis3, ONLY : lk_cpl 
     35   USE oce       , ONLY : iatte, oatte, sshn, sshb, snwice_mass, snwice_mass_b, snwice_fmass, sshu_b, sshv_b, sshu_n, sshv_n, sshf_n 
    3136   USE albedo           ! albedo parameters 
    32    USE ice              ! LIM sea-ice variables 
    33    USE lbclnk           ! ocean lateral boundary condition 
    34    USE in_out_manager   ! I/O manager 
     37   USE lbclnk           ! ocean lateral boundary condition - MPP exchanges 
    3538   USE lib_mpp          ! MPP library 
    3639   USE wrk_nemo         ! work arrays 
     40   USE in_out_manager   ! I/O manager 
    3741   USE prtctl           ! Print control 
    38    USE cpl_oasis3, ONLY : lk_cpl 
     42   USE lib_fortran      ! Fortran utilities (allows no signed zero when 'key_nosignedzero' defined)   
    3943   USE traqsr           ! clem: add penetration of solar flux into the calculation of heat budget 
    40    USE oce,        ONLY : iatte, oatte, sshn, sshb, snwice_mass, snwice_mass_b, snwice_fmass, sshu_b, sshv_b, sshu_n, sshv_n, sshf_n 
    41    USE dom_ice,    ONLY : tms 
    42    USE lib_fortran      ! Fortran utilities (allows no signed zero when 'key_nosignedzero' defined)   
    4344 
    4445   IMPLICIT NONE 
     
    438439      ENDIF ! .NOT. ln_rstart 
    439440      ! 
    440 !!?      IF( .NOT. ln_rstart ) THEN           ! delete the initial ssh below sea-ice area 
    441 !!?         ! 
    442 !!?         zarea     = glob_sum( e1e2t(:,:) )           ! interior global domain surface 
    443 !!?         zsum      = glob_sum( e1e2t(:,:) * ( snwice_mass(:,:) ) ) / zarea * r1_rau0 
    444 !!?         sshn(:,:) = sshn(:,:) - zsum  
    445 !!?         sshb(:,:) = sshb(:,:) - zsum 
    446 !!?      ENDIF 
    447       ! 
    448441 
    449442   END SUBROUTINE lim_sbc_init 
Note: See TracChangeset for help on using the changeset viewer.