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 11822 for NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OCE/FLO/flowri.F90 – NEMO

Ignore:
Timestamp:
2019-10-29T11:41:36+01:00 (4 years ago)
Author:
acc
Message:

Branch 2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps. Sette tested updates to branch to align with trunk changes between 10721 and 11740. Sette tests are passing but results differ from branch before these changes (except for GYRE_PISCES and VORTEX) and branch results already differed from trunk because of algorithmic fixes. Will need more checks to confirm correctness.

File:
1 edited

Legend:

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

    r10970 r11822  
    1010   !!   NEMO      1.0  !  2002-10  (A. Bozec)  F90 : Free form and module 
    1111   !!             3.2  !  2010-08  (slaw, cbricaud): netcdf outputs and others  
    12    !!---------------------------------------------------------------------- 
    13 #if   defined key_floats 
    14    !!---------------------------------------------------------------------- 
    15    !!   'key_floats'                                     float trajectories 
    1612   !!---------------------------------------------------------------------- 
    1713   USE flo_oce         ! ocean drifting floats 
     
    180176               CALL ctl_opn( numflo, 'trajec_float', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, numout, .FALSE. ) 
    181177               irecflo = NINT( (nitend-nn_it000) / FLOAT(nn_writefl) ) 
    182                WRITE(numflo,*)cexper,no,irecflo,jpnfl,nn_writefl 
     178               WRITE(numflo,*) cexper, irecflo, jpnfl, nn_writefl 
    183179            ENDIF 
    184180 
     
    256252 
    257253               istart = (/jfl,irec/) 
    258                icfl   = INT( tpkfl(jfl) )            ! K-index of the nearest point before 
    259  
    260                CALL flioputv( numflo , 'traj_lon'    , zlon(jfl)        , start=istart ) 
    261                CALL flioputv( numflo , 'traj_lat'    , zlat(jfl)        , start=istart )   
    262                CALL flioputv( numflo , 'traj_depth'  , zdep(jfl)        , start=istart )   
    263                CALL flioputv( numflo , 'traj_temp'   , ztemp(icfl,jfl)  , start=istart )   
    264                CALL flioputv( numflo , 'traj_salt'   , zsal(icfl,jfl)   , start=istart )   
    265                CALL flioputv( numflo , 'traj_dens'   , zrho(icfl,jfl)   , start=istart )   
     254 
     255               CALL flioputv( numflo , 'traj_lon'    , zlon(jfl), start=istart ) 
     256               CALL flioputv( numflo , 'traj_lat'    , zlat(jfl), start=istart )   
     257               CALL flioputv( numflo , 'traj_depth'  , zdep(jfl), start=istart )   
     258               CALL flioputv( numflo , 'traj_temp'   , ztem(jfl), start=istart )   
     259               CALL flioputv( numflo , 'traj_salt'   , zsal(jfl), start=istart )   
     260               CALL flioputv( numflo , 'traj_dens'   , zrho(jfl), start=istart )   
    266261 
    267262            ENDDO 
     
    278273   END SUBROUTINE flo_wri 
    279274 
    280  
    281 #  else 
    282    !!---------------------------------------------------------------------- 
    283    !!   Default option                                         Empty module 
    284    !!---------------------------------------------------------------------- 
    285 CONTAINS 
    286    SUBROUTINE flo_wri                 ! Empty routine 
    287    END SUBROUTINE flo_wri 
    288 #endif 
    289  
    290275   !!======================================================================= 
    291276END MODULE flowri 
Note: See TracChangeset for help on using the changeset viewer.