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 14072 for NEMO/trunk/src/OCE/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2020-12-04T08:48:38+01:00 (3 years ago)
Author:
laurent
Message:

Merging branch "2020/dev_r13648_ASINTER-04_laurent_bulk_ice", ticket #2369

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/nemogcm.F90

    r14053 r14072  
    2929   !!            3.3.1! 2011-01  (A. R. Porter, STFC Daresbury) dynamical allocation 
    3030   !!             -   ! 2011-11  (C. Harris) decomposition changes for running with CICE 
    31    !!            3.6  ! 2012-05  (C. Calone, J. Simeon, G. Madec, C. Ethe) Add grid coarsening  
     31   !!            3.6  ! 2012-05  (C. Calone, J. Simeon, G. Madec, C. Ethe) Add grid coarsening 
    3232   !!             -   ! 2014-12  (G. Madec) remove KPP scheme and cross-land advection (cla) 
    3333   !!            4.0  ! 2016-10  (G. Madec, S. Flavoni)  domain configuration / user defined interface 
     
    7474   USE lib_mpp        ! distributed memory computing 
    7575   USE mppini         ! shared/distributed memory setting (mpp_init routine) 
    76    USE lbcnfd  , ONLY : isendto, nsndto  ! Setup of north fold exchanges  
     76   USE lbcnfd  , ONLY : isendto, nsndto  ! Setup of north fold exchanges 
    7777   USE lib_fortran    ! Fortran utilities (allows no signed zero when 'key_nosignedzero' defined) 
    7878   USE halo_mng       ! Halo manager 
     
    184184            CALL stp_MLF      ( istp ) 
    185185#  else 
    186             CALL stp        ( istp )  
     186            CALL stp        ( istp ) 
    187187#  endif 
    188188            istp = istp + 1 
     
    195195         ! 
    196196         DO WHILE( istp <= nitend .AND. nstop == 0 ) 
    197             CALL stp_diurnal( istp )   ! time step only the diurnal SST  
     197            CALL stp_diurnal( istp )   ! time step only the diurnal SST 
    198198            istp = istp + 1 
    199199         END DO 
     
    308308#ifdef key_agrif 
    309309      ELSE 
    310                   numnul = Agrif_Parent(numnul)    
     310                  numnul = Agrif_Parent(numnul) 
    311311#endif 
    312312      ENDIF 
     
    373373903   IF( ios /= 0 )   CALL ctl_nam ( ios , 'namcfg in reference namelist' ) 
    374374      READ  ( numnam_cfg, namcfg, IOSTAT = ios, ERR = 904 ) 
    375 904   IF( ios >  0 )   CALL ctl_nam ( ios , 'namcfg in configuration namelist' )    
     375904   IF( ios >  0 )   CALL ctl_nam ( ios , 'namcfg in configuration namelist' ) 
    376376      ! 
    377377      IF( ln_read_cfg ) THEN            ! Read sizes in domain configuration file 
     
    396396#if defined key_agrif 
    397397      Kbb_a = Nbb   ;   Kmm_a = Nnn   ;   Krhs_a = Nrhs   ! agrif_oce module copies of time level indices 
    398 #endif  
     398#endif 
    399399      !                             !-------------------------------! 
    400400      !                             !  NEMO general initialization  ! 
     
    416416#endif 
    417417                           CALL     dom_init( Nbb, Nnn, Naa )   ! Domain 
    418       IF( ln_crs       )   CALL     crs_init(      Nnn      )   ! coarsened grid: domain initialization  
     418      IF( ln_crs       )   CALL     crs_init(      Nnn      )   ! coarsened grid: domain initialization 
    419419      IF( sn_cfctl%l_prtctl )   & 
    420420         &                 CALL prt_ctl_init        ! Print control 
    421        
     421 
    422422                           CALL diurnal_sst_bulk_init       ! diurnal sst 
    423       IF( ln_diurnal   )   CALL diurnal_sst_coolskin_init   ! cool skin    
    424       !                             
     423      IF( ln_diurnal   )   CALL diurnal_sst_coolskin_init   ! cool skin 
     424      ! 
    425425      IF( ln_diurnal_only ) THEN                    ! diurnal only: a subset of the initialisation routines 
    426426         CALL  istate_init( Nbb, Nnn, Naa )         ! ocean initial state (Dynamics and tracers) 
     
    430430            CALL dia_obs_init( Nnn )                ! Initialize observational data 
    431431            CALL dia_obs( nit000 - 1, Nnn )         ! Observation operator for restart 
    432          ENDIF      
     432         ENDIF 
    433433         IF( lk_asminc )   CALL asm_inc_init( Nbb, Nnn, Nrhs )   ! Assimilation increments 
    434434         ! 
     
    439439                           CALL  istate_init( Nbb, Nnn, Naa )    ! ocean initial state (Dynamics and tracers) 
    440440 
    441       !                                      ! external forcing  
     441      !                                      ! external forcing 
    442442                           CALL    tide_init                     ! tidal harmonics 
    443443                           CALL     sbc_init( Nbb, Nnn, Naa )    ! surface boundary conditions (including sea-ice) 
     
    446446      !                                      ! Ocean physics 
    447447                           CALL zdf_phy_init( Nnn )    ! Vertical physics 
    448                                       
     448 
    449449      !                                         ! Lateral physics 
    450450                           CALL ldf_tra_init      ! Lateral ocean tracer physics 
     
    482482                           CALL sto_par_init    ! Stochastic parametrization 
    483483      IF( ln_sto_eos   )   CALL sto_pts_init    ! RRandom T/S fluctuations 
    484       
     484 
    485485      !                                      ! Diagnostics 
    486486                           CALL     flo_init( Nnn )    ! drifting Floats 
     
    526526         WRITE(numout,*) '                              sn_cfctl%l_prttrc  = ', sn_cfctl%l_prttrc 
    527527         WRITE(numout,*) '                              sn_cfctl%l_oasout  = ', sn_cfctl%l_oasout 
    528          WRITE(numout,*) '                              sn_cfctl%procmin   = ', sn_cfctl%procmin   
    529          WRITE(numout,*) '                              sn_cfctl%procmax   = ', sn_cfctl%procmax   
    530          WRITE(numout,*) '                              sn_cfctl%procincr  = ', sn_cfctl%procincr  
    531          WRITE(numout,*) '                              sn_cfctl%ptimincr  = ', sn_cfctl%ptimincr  
     528         WRITE(numout,*) '                              sn_cfctl%procmin   = ', sn_cfctl%procmin 
     529         WRITE(numout,*) '                              sn_cfctl%procmax   = ', sn_cfctl%procmax 
     530         WRITE(numout,*) '                              sn_cfctl%procincr  = ', sn_cfctl%procincr 
     531         WRITE(numout,*) '                              sn_cfctl%ptimincr  = ', sn_cfctl%ptimincr 
    532532         WRITE(numout,*) '      timing by routine               ln_timing  = ', ln_timing 
    533533         WRITE(numout,*) '      CFL diagnostics                 ln_diacfl  = ', ln_diacfl 
     
    599599      !!---------------------------------------------------------------------- 
    600600      ! 
    601       ierr =        oce_alloc    ()    ! ocean  
     601      ierr =        oce_alloc    ()    ! ocean 
    602602      ierr = ierr + dia_wri_alloc() 
    603603      ierr = ierr + dom_oce_alloc()    ! ocean domain 
     
    611611   END SUBROUTINE nemo_alloc 
    612612 
    613     
     613 
    614614   SUBROUTINE nemo_set_cfctl(sn_cfctl, setto ) 
    615615      !!---------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.