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 6012 for branches/2015/dev_MetOffice_merge_2015/NEMOGCM/NEMO/OPA_SRC/ASM – NEMO

Ignore:
Timestamp:
2015-12-07T16:11:45+01:00 (9 years ago)
Author:
mathiot
Message:

merge MetO branch with dev_r5151_UKMO_ISF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_MetOffice_merge_2015/NEMOGCM/NEMO/OPA_SRC/ASM/asminc.F90

    r5997 r6012  
    636636!!gm 
    637637 
    638             IF( ln_zps .AND. .NOT. lk_c1d ) THEN      ! Partial steps: before horizontal gradient 
    639                IF(ln_isfcav) THEN                        ! ocean cavities: top and bottom cells (ISF) 
    640                   CALL zps_hde_isf( nit000, jpts, tsb, gtsu, gtsv, gtui, gtvi,     & 
    641                      &                            rhd, gru , grv , aru , arv , gzu , gzv , ge3ru , ge3rv ,   & 
    642                      &                     grui, grvi, arui, arvi, gzui, gzvi, ge3rui, ge3rvi    ) 
    643                ELSE                                      ! no ocean cavities: bottom cells 
    644                   CALL zps_hde    ( kt, jpts, tsb, gtsu, gtsv,        &  !  
    645                      &                        rhd, gru , grv          )  ! of t, s, rd at the last ocean level 
    646                ENDIF 
    647             ENDIF 
    648             ! 
     638            IF( ln_zps .AND. .NOT. lk_c1d .AND. .NOT. ln_isfcav)      & 
     639               &  CALL zps_hde    ( kt, jpts, tsb, gtsu, gtsv,        &  ! Partial steps: before horizontal gradient 
     640               &                              rhd, gru , grv          )  ! of t, s, rd at the last ocean level 
     641            IF( ln_zps .AND. .NOT. lk_c1d .AND.       ln_isfcav)      & 
     642               &  CALL zps_hde_isf( nit000, jpts, tsb, gtsu, gtsv, gtui, gtvi,    &    ! Partial steps for top cell (ISF) 
     643               &                                  rhd, gru , grv , grui, grvi     )    ! of t, s, rd at the last ocean level 
     644 
     645#if defined key_zdfkpp 
     646            CALL eos( tsn, rhd, fsdept_n(:,:,:) )                      ! Compute rhd 
     647!!gm fabien            CALL eos( tsn, rhd )                      ! Compute rhd 
     648#endif 
     649 
    649650            DEALLOCATE( t_bkginc ) 
    650651            DEALLOCATE( s_bkginc ) 
Note: See TracChangeset for help on using the changeset viewer.