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 5869 for branches/2015/dev_r5847_MERCATOR9_solveur_simplification/NEMOGCM/NEMO/OPA_SRC/step.F90 – NEMO

Ignore:
Timestamp:
2015-11-09T11:51:12+01:00 (8 years ago)
Author:
jchanut
Message:

Free surface simplification #1620. Step 2: suppress implicit pressure gradient

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5847_MERCATOR9_solveur_simplification/NEMOGCM/NEMO/OPA_SRC/step.F90

    r5868 r5869  
    268268#endif 
    269269                             CALL tra_zdf    ( kstp )       ! vertical mixing and after tracer fields 
    270  
    271       IF( ln_dynhpg_imp  ) THEN                             ! semi-implicit hpg (time stepping then eos) 
    272          IF( ln_zdfnpc   )   CALL tra_npc( kstp )                ! update after fields by non-penetrative convection 
    273                              CALL tra_nxt( kstp )                ! tracer fields at next time step 
     270                                                ! centered hpg  (eos then time stepping) 
     271      IF ( .NOT. lk_dynspg_ts ) THEN                     ! eos already called in time-split case 
    274272!!gm : why again a call to sto_pts ??? 
    275             IF( ln_sto_eos ) CALL sto_pts( tsn )                 ! Random T/S fluctuations 
    276 !!gm 
    277                              CALL eos    ( tsa, rhd, rhop, fsdept_n(:,:,:) )  ! Time-filtered in situ density for hpg computation 
    278             IF( ln_zps .AND. .NOT. ln_isfcav)                                & 
    279                &             CALL zps_hde    ( kstp, jpts, tsa, gtsu, gtsv,  &    ! Partial steps: before horizontal gradient 
    280                &                                           rhd, gru , grv    )  ! of t, s, rd at the last ocean level 
    281             IF( ln_zps .AND.       ln_isfcav)                                & 
    282                &             CALL zps_hde_isf( kstp, jpts, tsa, gtsu, gtsv, gtui, gtvi,  &    ! Partial steps for top/bottom cells 
    283                &                                           rhd, gru , grv , aru , arv , gzu , gzv , ge3ru , ge3rv ,   & 
    284                &                                                grui, grvi, arui, arvi, gzui, gzvi, ge3rui, ge3rvi    ) 
    285       ELSE                                                  ! centered hpg  (eos then time stepping) 
    286          IF ( .NOT. lk_dynspg_ts ) THEN                     ! eos already called in time-split case 
    287 !!gm : why again a call to sto_pts ??? 
    288             IF( ln_sto_eos ) CALL sto_pts( tsn )    ! Random T/S fluctuations 
     273         IF( ln_sto_eos )    CALL sto_pts( tsn )    ! Random T/S fluctuations 
    289274!!gm 
    290275                             CALL eos    ( tsn, rhd, rhop, fsdept_n(:,:,:) )  ! now in situ density for hpg computation 
     
    296281               &                                           rhd, gru , grv , aru , arv , gzu , gzv , ge3ru , ge3rv ,   & 
    297282               &                                    grui, grvi, arui, arvi, gzui, gzvi, ge3rui, ge3rvi    ) ! of t, s, rd at the last ocean level 
    298          ENDIF 
    299          IF( ln_zdfnpc   )   CALL tra_npc( kstp )                ! update after fields by non-penetrative convection 
     283      ENDIF 
     284      IF( ln_zdfnpc   )      CALL tra_npc( kstp )                ! update after fields by non-penetrative convection 
    300285                             CALL tra_nxt( kstp )                ! tracer fields at next time step 
    301       ENDIF 
    302286 
    303287      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
Note: See TracChangeset for help on using the changeset viewer.