- Timestamp:
- 2011-11-07T16:03:29+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2011/dev_MERCATOR_2011_MERGE/NEMOGCM/NEMO/OPA_SRC/FLO/floats.F90
r2715 r3051 19 19 USE flodom ! initialisation Module 20 20 USE flowri ! float output (flo_wri routine) 21 USE florst ! float restart (flo_rst routine) 21 22 USE flo4rk ! Trajectories, Runge Kutta scheme (flo_4rk routine) 22 23 USE floblk ! Trajectories, Blanke scheme (flo_blk routine) … … 56 57 IF( lk_mpp ) CALL mppsync ! synchronization of all the processor 57 58 ! 58 IF( kt == nit000 .OR. MOD( kt, nn_writefl ) == 0 ) CALL flo_wri( kt ) ! trajectories file 59 IF( kt == nitend .OR. MOD( kt, nn_stockfl ) == 0 ) CALL flo_wri( kt ) ! restart file 59 CALL flo_wri( kt ) ! trajectories ouput 60 ! 61 CALL flo_rst( kt ) ! trajectories restart 60 62 ! 61 63 wb(:,:,:) = wn(:,:,:) ! Save the old vertical velocity field … … 70 72 !! ** Purpose : Read the namelist of floats 71 73 !!---------------------------------------------------------------------- 72 NAMELIST/namflo/ ln_rstflo, nn_writefl, nn_stockfl, ln_argo, ln_flork4 74 INTEGER :: jfl 75 ! 76 NAMELIST/namflo/ jpnfl, jpnnewflo, ln_rstflo, nn_writefl, nn_stockfl, ln_argo, ln_flork4, ln_ariane, ln_flo_ascii 73 77 !!--------------------------------------------------------------------- 74 78 ! … … 83 87 WRITE(numout,*) 84 88 WRITE(numout,*) ' Namelist floats :' 85 WRITE(numout,*) ' restart ln_rstflo = ', ln_rstflo 86 WRITE(numout,*) ' frequency of float output file nn_writefl = ', nn_writefl 87 WRITE(numout,*) ' frequency of float restart file nn_stockfl = ', nn_stockfl 88 WRITE(numout,*) ' Argo type floats ln_argo = ', ln_argo 89 WRITE(numout,*) ' Computation of T trajectories ln_flork4 = ', ln_flork4 89 WRITE(numout,*) ' number of floats jpnfl = ', jpnfl 90 WRITE(numout,*) ' number of new floats jpnflnewflo = ', jpnnewflo 91 WRITE(numout,*) ' restart ln_rstflo = ', ln_rstflo 92 WRITE(numout,*) ' frequency of float output file nn_writefl = ', nn_writefl 93 WRITE(numout,*) ' frequency of float restart file nn_stockfl = ', nn_stockfl 94 WRITE(numout,*) ' Argo type floats ln_argo = ', ln_argo 95 WRITE(numout,*) ' Computation of T trajectories ln_flork4 = ', ln_flork4 96 WRITE(numout,*) ' Use of ariane convention ln_ariane = ', ln_ariane 97 WRITE(numout,*) ' ascii output (T) or netcdf output (F) ln_flo_ascii = ', ln_flo_ascii 98 90 99 ENDIF 91 100 ! … … 93 102 IF( flo_oce_alloc() /= 0 ) CALL ctl_stop( 'STOP', 'flo_init : unable to allocate arrays' ) 94 103 ! 104 ! ! allocate flodom arrays 105 IF( flo_dom_alloc() /= 0 ) CALL ctl_stop( 'STOP', 'flo_dom : unable to allocate arrays' ) 106 ! 95 107 ! ! allocate flowri arrays 96 108 IF( flo_wri_alloc() /= 0 ) CALL ctl_stop( 'STOP', 'flo_wri : unable to allocate arrays' ) 109 ! 110 ! ! allocate florst arrays 111 IF( flo_rst_alloc() /= 0 ) CALL ctl_stop( 'STOP', 'flo_rst : unable to allocate arrays' ) 112 ! 113 !memory allocation 114 jpnrstflo = jpnfl-jpnnewflo 115 116 !vertical axe for netcdf IOM ouput 117 DO jfl=1,jpnfl ; nfloat(jfl)=jfl ; ENDDO 118 97 119 ! 98 120 CALL flo_dom ! compute/read initial position of floats
Note: See TracChangeset
for help on using the changeset viewer.