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.
flo_oce.F90 in trunk/NEMO/OPA_SRC/FLO – NEMO

source: trunk/NEMO/OPA_SRC/FLO/flo_oce.F90 @ 3

Last change on this file since 3 was 3, checked in by opalod, 20 years ago

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.8 KB
Line 
1MODULE flo_oce
2   !!======================================================================
3   !!                     ***  MODULE flo_oce  ***
4   !!               
5   !! ** Purpose : - Define in memory all floats parameters and variables
6   !!
7   !! History :
8   !!   8.0  !  99-10  (CLIPPER projet)
9   !!   9.0  !  02-11  (G. Madec, A. Bozec)  F90: Free form and module
10   !!======================================================================
11   !!  OPA 9.0 , LODYC-IPSL (2003)
12   !!----------------------------------------------------------------------
13#if defined key_floats
14   !!----------------------------------------------------------------------
15   !!   'key_floats'                                        drifting floats
16   !!----------------------------------------------------------------------
17   !! * Modules used
18   USE par_oce         ! ocean parameters
19
20   IMPLICIT NONE
21
22   LOGICAL, PUBLIC, PARAMETER ::   lk_floats = .TRUE.    ! float flag
23
24   !! float parameters
25   !! ----------------
26   INTEGER, PARAMETER ::   &
27      jpnfl      = 23 ,          &  ! total number of floats during the run
28      jpnnewfl   =  0 ,          &  ! number of floats added in a new run
29      jpnrstarfl = jpnfl-jpnnewfl   ! number of floats for the restart
30
31   !! float variables
32   !! ---------------
33   INTEGER, DIMENSION(jpnfl)  ::    &
34      nisobfl,    &  ! 0 for a isobar float
35      !              ! 1 for a float following the w velocity
36      ngrpfl         ! number to identify searcher group
37
38   REAL(wp), DIMENSION(jpnfl) ::    &
39      flxx,       &  ! longitude of float (decimal degree)
40      flyy,       &  ! latitude of float (decimal degree)
41      flzz,       &  ! depth of float (m, positive)
42      tpifl,      &  ! index of float position on zonal axe
43      tpjfl,      &  ! index of float position on meridien axe
44      tpkfl          ! index of float position on z axe
45   
46   REAL(wp), DIMENSION(jpi, jpj, jpk) ::    & 
47      wb             ! vertical velocity at previous time step (m s-1).
48   
49   ! floats unit
50   
51   LOGICAL  ::                & !!! * namelist namflo *
52      ln_rstflo = .FALSE. ,   &  ! T/F float restart
53      ln_argo   = .FALSE. ,   &  ! T/F argo type floats
54      ln_flork4 = .FALSE.        ! T/F 4th order Runge-Kutta
55   INTEGER  ::               & !!! * namelist namflo *
56      nwritefl,              &  ! frequency of float output file
57      nstockfl                  ! frequency of float restart file
58
59#else
60   !!----------------------------------------------------------------------
61   !!   Default option :                                 NO drifting floats
62   !!----------------------------------------------------------------------
63   LOGICAL, PUBLIC, PARAMETER ::   lk_floats = .FALSE.   ! float flag
64#endif
65
66   !!======================================================================
67END MODULE flo_oce
Note: See TracBrowser for help on using the repository browser.