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 11053 for NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps_rewrite_time_filterswap/src/NST/agrif_user.F90 – NEMO

Ignore:
Timestamp:
2019-05-24T12:53:06+02:00 (5 years ago)
Author:
davestorkey
Message:

2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps_rewrite_time_filterswap : Merge in latest changes from main branch and finish conversion of "h" variables. NB. This version still doesn't work!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps_rewrite_time_filterswap/src/NST/agrif_user.F90

    r10989 r11053  
    5353   ! 
    5454   CALL nemo_init       !* Initializations of each fine grid 
     55   Kbb_a = Nbb; Kmm_a = Nnn; Krhs_a = Nrhs   ! agrif_oce module copies of time level indices 
    5556 
    5657   !                    !* Agrif initialization 
     
    175176   tabspongedone_tsn = .FALSE. 
    176177   CALL Agrif_Bc_variable(tsn_sponge_id,calledweight=1.,procname=interptsn_sponge) 
    177    ! reset ts(:,:,:,:,Krhs) to zero 
    178    ts(:,:,:,:,Krhs) = 0. 
     178   ! reset ts(:,:,:,:,Krhs_a) to zero 
     179   ts(:,:,:,:,Krhs_a) = 0. 
    179180 
    180181   Agrif_UseSpecialValue = ln_spc_dyn 
     
    191192   CALL Agrif_Bc_variable(sshn_id,calledweight=1., procname=interpsshn ) 
    192193   hbdy_w(:,:) = 0.e0 ; hbdy_e(:,:) = 0.e0 ; hbdy_n(:,:) = 0.e0 ; hbdy_s(:,:) = 0.e0 
    193    ssh(:,:,Krhs) = 0.e0 
     194   ssh(:,:,Krhs_a) = 0.e0 
    194195 
    195196   IF ( ln_dynspg_ts ) THEN 
     
    207208   Agrif_UseSpecialValue = .FALSE.  
    208209   ! reset velocities to zero 
    209    uu(:,:,:,Krhs) = 0. 
    210    vv(:,:,:,Krhs) = 0. 
     210   uu(:,:,:,Krhs_a) = 0. 
     211   vv(:,:,:,Krhs_a) = 0. 
    211212 
    212213   ! 3. Some controls 
     
    591592   tabspongedone_trn = .FALSE. 
    592593   CALL Agrif_Bc_variable(trn_sponge_id,calledweight=1.,procname=interptrn_sponge) 
    593    ! reset ts(:,:,:,:,Krhs) to zero 
    594    tr(:,:,:,:,Krhs) = 0. 
     594   ! reset ts(:,:,:,:,Krhs_a) to zero 
     595   tr(:,:,:,:,Krhs_a) = 0. 
    595596 
    596597 
Note: See TracChangeset for help on using the changeset viewer.