Changeset 12377 for NEMO/trunk/src/OCE/FLO/floats.F90
- Timestamp:
- 2020-02-12T15:39:06+01:00 (4 years ago)
- Location:
- NEMO/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk
- Property svn:externals
-
old new 3 3 ^/utils/build/mk@HEAD mk 4 4 ^/utils/tools@HEAD tools 5 ^/vendors/AGRIF/dev @HEAD ext/AGRIF5 ^/vendors/AGRIF/dev_r11615_ENHANCE-04_namelists_as_internalfiles_agrif@HEAD ext/AGRIF 6 6 ^/vendors/FCM@HEAD ext/FCM 7 7 ^/vendors/IOIPSL@HEAD ext/IOIPSL
-
- Property svn:externals
-
NEMO/trunk/src/OCE/FLO/floats.F90
r11536 r12377 37 37 CONTAINS 38 38 39 SUBROUTINE flo_stp( kt )39 SUBROUTINE flo_stp( kt, Kbb, Kmm ) 40 40 !!---------------------------------------------------------------------- 41 41 !! *** ROUTINE flo_stp *** … … 48 48 !! if ln_flork4 =T 49 49 !!---------------------------------------------------------------------- 50 INTEGER, INTENT( in ) :: kt ! ocean time step 50 INTEGER, INTENT( in ) :: kt ! ocean time step 51 INTEGER, INTENT( in ) :: Kbb, Kmm ! ocean time level indices 51 52 !!---------------------------------------------------------------------- 52 53 ! 53 54 IF( ln_timing ) CALL timing_start('flo_stp') 54 55 ! 55 IF( ln_flork4 ) THEN ; CALL flo_4rk( kt )! Trajectories using a 4th order Runge Kutta scheme56 ELSE ; CALL flo_blk( kt )! Trajectories using Blanke' algorithme56 IF( ln_flork4 ) THEN ; CALL flo_4rk( kt, Kbb, Kmm ) ! Trajectories using a 4th order Runge Kutta scheme 57 ELSE ; CALL flo_blk( kt, Kbb, Kmm ) ! Trajectories using Blanke' algorithme 57 58 ENDIF 58 59 ! 59 60 IF( lk_mpp ) CALL mppsync ! synchronization of all the processor 60 61 ! 61 CALL flo_wri( kt )! trajectories ouput62 CALL flo_wri( kt, Kmm ) ! trajectories ouput 62 63 ! 63 64 CALL flo_rst( kt ) ! trajectories restart 64 65 ! 65 wb(:,:,:) = w n(:,:,:) ! Save the old vertical velocity field66 wb(:,:,:) = ww(:,:,:) ! Save the old vertical velocity field 66 67 ! 67 68 IF( ln_timing ) CALL timing_stop('flo_stp') … … 70 71 71 72 72 SUBROUTINE flo_init 73 SUBROUTINE flo_init( Kmm ) 73 74 !!---------------------------------------------------------------- 74 75 !! *** ROUTINE flo_init *** … … 76 77 !! ** Purpose : Read the namelist of floats 77 78 !!---------------------------------------------------------------------- 79 INTEGER, INTENT(in) :: Kmm ! ocean time level index 80 ! 78 81 INTEGER :: jfl 79 82 INTEGER :: ios ! Local integer output status for namelist read … … 86 89 IF(lwp) WRITE(numout,*) '~~~~~~~' 87 90 88 REWIND( numnam_ref ) ! Namelist namflo in reference namelist : Floats89 91 READ ( numnam_ref, namflo, IOSTAT = ios, ERR = 901) 90 92 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namflo in reference namelist' ) 91 93 92 REWIND( numnam_cfg ) ! Namelist namflo in configuration namelist : Floats93 94 READ ( numnam_cfg, namflo, IOSTAT = ios, ERR = 902 ) 94 95 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namflo in configuration namelist' ) … … 130 131 END DO 131 132 ! 132 CALL flo_dom 133 CALL flo_dom( Kmm ) ! compute/read initial position of floats 133 134 ! 134 wb(:,:,:) = w n(:,:,:) ! set wb for computation of floats trajectories at the first time step135 wb(:,:,:) = ww(:,:,:) ! set wb for computation of floats trajectories at the first time step 135 136 ! 136 137 ENDIF 137 !138 138 END SUBROUTINE flo_init 139 139
Note: See TracChangeset
for help on using the changeset viewer.