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 10969 for NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OCE/ASM/asmbkg.F90 – NEMO

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

2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps : ASM and knock-on changes. NB. Only tested for compilation - no SETTE tests for ASM.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OCE/ASM/asmbkg.F90

    r10425 r10969  
    5252CONTAINS 
    5353 
    54    SUBROUTINE asm_bkg_wri( kt ) 
     54   SUBROUTINE asm_bkg_wri( kt, Kmm ) 
    5555      !!----------------------------------------------------------------------- 
    5656      !!                  ***  ROUTINE asm_bkg_wri *** 
     
    6565      !!----------------------------------------------------------------------- 
    6666      INTEGER, INTENT( IN ) :: kt               ! Current time-step 
     67      INTEGER, INTENT( IN ) :: Kmm              ! time level index 
    6768      ! 
    6869      CHARACTER (LEN=50) :: cl_asmbkg 
     
    9899            ! 
    99100            !                                      ! Write the information 
    100             CALL iom_rstput( kt, nitbkg_r, inum, 'rdastp' , zdate             ) 
    101             CALL iom_rstput( kt, nitbkg_r, inum, 'un'     , un                ) 
    102             CALL iom_rstput( kt, nitbkg_r, inum, 'vn'     , vn                ) 
    103             CALL iom_rstput( kt, nitbkg_r, inum, 'tn'     , tsn(:,:,:,jp_tem) ) 
    104             CALL iom_rstput( kt, nitbkg_r, inum, 'sn'     , tsn(:,:,:,jp_sal) ) 
    105             CALL iom_rstput( kt, nitbkg_r, inum, 'sshn'   , sshn              ) 
    106             IF( ln_zdftke )   CALL iom_rstput( kt, nitbkg_r, inum, 'en'     , en                ) 
     101            CALL iom_rstput( kt, nitbkg_r, inum, 'rdastp' , zdate                ) 
     102            CALL iom_rstput( kt, nitbkg_r, inum, 'un'     , uu(:,:,:,Kmm)        ) 
     103            CALL iom_rstput( kt, nitbkg_r, inum, 'vn'     , vv(:,:,:,Kmm)        ) 
     104            CALL iom_rstput( kt, nitbkg_r, inum, 'tn'     , ts(:,:,:,jp_tem,Kmm) ) 
     105            CALL iom_rstput( kt, nitbkg_r, inum, 'sn'     , ts(:,:,:,jp_sal,Kmm) ) 
     106            CALL iom_rstput( kt, nitbkg_r, inum, 'sshn'   , ssh(:,:,Kmm)         ) 
     107            IF( ln_zdftke )   CALL iom_rstput( kt, nitbkg_r, inum, 'en'     , en ) 
    107108            ! 
    108109            CALL iom_close( inum ) 
     
    133134            ! 
    134135            !                                      ! Write the information 
    135             CALL iom_rstput( kt, nitdin_r, inum, 'rdastp' , zdate             ) 
    136             CALL iom_rstput( kt, nitdin_r, inum, 'un'     , un                ) 
    137             CALL iom_rstput( kt, nitdin_r, inum, 'vn'     , vn                ) 
    138             CALL iom_rstput( kt, nitdin_r, inum, 'tn'     , tsn(:,:,:,jp_tem) ) 
    139             CALL iom_rstput( kt, nitdin_r, inum, 'sn'     , tsn(:,:,:,jp_sal) ) 
    140             CALL iom_rstput( kt, nitdin_r, inum, 'sshn'   , sshn              ) 
     136            CALL iom_rstput( kt, nitdin_r, inum, 'rdastp' , zdate                ) 
     137            CALL iom_rstput( kt, nitdin_r, inum, 'un'     , uu(:,:,:,Kmm)        ) 
     138            CALL iom_rstput( kt, nitdin_r, inum, 'vn'     , vv(:,:,:,Kmm)        ) 
     139            CALL iom_rstput( kt, nitdin_r, inum, 'tn'     , ts(:,:,:,jp_tem,Kmm) ) 
     140            CALL iom_rstput( kt, nitdin_r, inum, 'sn'     , ts(:,:,:,jp_sal,Kmm) ) 
     141            CALL iom_rstput( kt, nitdin_r, inum, 'sshn'   , ssh(:,:,Kmm)         ) 
    141142#if defined key_si3 
    142143            IF( nn_ice == 2 ) THEN 
Note: See TracChangeset for help on using the changeset viewer.