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 @ 1601

Last change on this file since 1601 was 1601, checked in by ctlod, 15 years ago

Doctor naming of OPA namelist variables , see ticket: #526

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.9 KB
Line 
1MODULE flo_oce
2   !!======================================================================
3   !!                     ***  MODULE flo_oce  ***
4   !! lagrangian floats :   define in memory all floats parameters and variables
5   !!======================================================================
6   !! History :   OPA  ! 1999-10  (CLIPPER projet)
7   !!   NEMO      1.0  ! 2002-11  (G. Madec, A. Bozec)  F90: Free form and module
8   !!----------------------------------------------------------------------
9#if   defined key_floats   ||   defined key_esopa
10   !!----------------------------------------------------------------------
11   !!   'key_floats'                                        drifting floats
12   !!----------------------------------------------------------------------
13   USE par_oce         ! ocean parameters
14
15   IMPLICIT NONE
16   PUBLIC
17
18   LOGICAL, PUBLIC, PARAMETER ::   lk_floats = .TRUE.    !: float flag
19
20   !! float parameters
21   !! ----------------
22   INTEGER, PUBLIC, PARAMETER ::   jpnfl     = 23 ,                !: total number of floats during the run
23   INTEGER, PUBLIC, PARAMETER ::   jpnnewflo =  0 ,                !: number of floats added in a new run
24   INTEGER, PUBLIC, PARAMETER ::   jpnrstflo = jpnfl - jpnnewflo   !: number of floats for the restart
25
26   !! float variables
27   !! ---------------
28   INTEGER, PUBLIC, DIMENSION(jpnfl)  ::   nisobfl   !: =0 for a isobar float , =1 for a float following the w velocity
29   INTEGER, PUBLIC, DIMENSION(jpnfl)  ::   ngrpfl    !: number to identify searcher group
30
31   REAL(wp), PUBLIC, DIMENSION(jpnfl) ::   flxx , flyy , flzz    !: longitude, latitude, depth of float (decimal degree, m >0)
32   REAL(wp), PUBLIC, DIMENSION(jpnfl) ::   tpifl, tpjfl, tpkfl   !: (i,j,k) indices of float position
33
34   REAL(wp), PUBLIC, DIMENSION(jpi, jpj, jpk) ::   wb            !: vertical velocity at previous time step (m s-1).
35   
36   !                                  !!! * namelist namflo : langrangian floats *
37   LOGICAL, PUBLIC  ::   ln_rstflo  = .FALSE.    !: T/F float restart
38   LOGICAL, PUBLIC  ::   ln_argo    = .FALSE.    !: T/F argo type floats
39   LOGICAL, PUBLIC  ::   ln_flork4  = .FALSE.    !: T/F 4th order Runge-Kutta
40   INTEGER, PUBLIC  ::   nn_writefl = 150       !: frequency of float output file
41   INTEGER, PUBLIC  ::   nn_stockfl = 450       !: frequency of float restart file
42
43#else
44   !!----------------------------------------------------------------------
45   !!   Default option :                                 NO drifting floats
46   !!----------------------------------------------------------------------
47   LOGICAL, PUBLIC, PARAMETER ::   lk_floats = .FALSE.   !: float flag
48#endif
49
50   !!----------------------------------------------------------------------
51   !! NEMO/OPA 3.2 , LOCEAN-IPSL (2009)
52   !! $Id$
53   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt)
54   !!======================================================================
55END MODULE flo_oce
Note: See TracBrowser for help on using the repository browser.