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 10905 for NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OFF – NEMO

Ignore:
Timestamp:
2019-04-29T13:50:19+02:00 (5 years ago)
Author:
davestorkey
Message:

2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps :

  1. Alter top-level TOP routines so they use the time-level indices from step.F90 rather than having their own time level indices.
  2. First part of changes for OFF modules.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OFF/nemogcm.F90

    r10874 r10905  
    5959   USE lib_fortran    ! Fortran utilities (allows no signed zero when 'key_nosignedzero' defined) 
    6060   USE lbcnfd  , ONLY : isendto, nsndto, nfsloop, nfeloop   ! Setup of north fold exchanges 
     61   USE step, ONLY : update_pointers  
    6162 
    6263   IMPLICIT NONE 
     
    6667 
    6768   CHARACTER (len=64) ::   cform_aaa="( /, 'AAAAAAAA', / ) "   ! flag for output listing 
     69 
     70   !!---------------------------------------------------------------------- 
     71   !! time level indices 
     72   !!---------------------------------------------------------------------- 
     73   INTEGER :: Nbb, Nnn, Naa, Nrhs        
    6874 
    6975   !!---------------------------------------------------------------------- 
     
    116122         IF( .NOT.ln_linssh )   CALL dta_dyn_swp( istp )         ! swap of sea  surface height and vertical scale factors 
    117123#endif 
    118                                 CALL trc_stp    ( istp )         ! time-stepping 
     124                                CALL trc_stp    ( istp, Nbb, Nnn, Nrhs, Naa )         ! time-stepping 
    119125                                CALL stp_ctl    ( istp, indic )  ! Time loop: control and print 
    120126         istp = istp + 1 
     
    287293      CALL nemo_alloc() 
    288294 
     295      ! Initialise time level indices 
     296      Nbb = 1; Nnn = 2; Naa = 3; Nrhs = Naa 
     297    
     298      ! Initialisation of temporary pointers (to be deleted after development finished) 
     299      CALL update_pointers( Nbb, Nnn, Naa ) 
     300 
    289301      !                             !-------------------------------! 
    290302      !                             !  NEMO general initialization  ! 
     
    324336#endif 
    325337 
    326                            CALL     trc_init   ! Passive tracers initialization 
     338                           CALL     trc_init( Nbb, Nnn, Naa )   ! Passive tracers initialization 
    327339                           CALL dia_ptr_init   ! Poleward TRansports initialization 
    328340                            
Note: See TracChangeset for help on using the changeset viewer.