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 1601 for trunk/NEMO/OPA_SRC/FLO/flowri.F90 – NEMO

Ignore:
Timestamp:
2009-08-11T12:09:19+02:00 (15 years ago)
Author:
ctlod
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/FLO/flowri.F90

    r1581 r1601  
    22   !!====================================================================== 
    33   !!                       ***  MODULE  flowri  *** 
    4    !!  
     4   !! lagrangian floats :   outputs 
    55   !!====================================================================== 
     6   !! History :   OPA  ! 1999-09  (Y. Drillet)  Original code 
     7   !!                  ! 2000-06  (J.-M. Molines)  Profiling floats for CLS  
     8   !!   NEMO      1.0  ! 2002-11  (G. Madec, A. Bozec)  F90: Free form and module 
     9   !!---------------------------------------------------------------------- 
     10 
    611#if   defined key_floats   ||   defined key_esopa 
    712   !!---------------------------------------------------------------------- 
     
    1015   !!    flowri     : write trajectories of floats in file  
    1116   !!---------------------------------------------------------------------- 
    12    !! * Modules used 
    1317   USE flo_oce         ! ocean drifting floats 
    1418   USE oce             ! ocean dynamics and tracers 
     
    1923 
    2024   IMPLICIT NONE 
    21  
    22    !! * Accessibility 
    2325   PRIVATE 
    24    PUBLIC flo_wri     ! routine called by floats.F90 
    25  
    26    !! * Module variables 
    27       INTEGER :: jfl              ! number of floats 
     26 
     27   PUBLIC   flo_wri    ! routine called by floats.F90 
     28 
     29   INTEGER ::   jfl    ! number of floats 
    2830 
    2931   !! * Substitutions 
    3032#  include "domzgr_substitute.h90" 
    3133   !!---------------------------------------------------------------------- 
    32    !!   OPA 9.0 , LOCEAN-IPSL (2005)  
     34   !! NEMO/OPA 3.2 , LOCEAN-IPSL (2009)  
    3335   !! $Id$  
    34    !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt  
     36   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
    3537   !!---------------------------------------------------------------------- 
    3638 
     
    3840 
    3941   SUBROUTINE flo_wri( kt ) 
    40       !!--------------------------------------------------------------------- 
     42      !!------------------------------------------------------------------- 
    4143      !!                  ***  ROUTINE flo_wri  *** 
    4244      !!              
     
    4446      !!      and the temperature and salinity at this position 
    4547      !!       
    46       !! ** Method  :   The frequency is nwritefl 
    47       !!       
    48       !!  History : 
    49       !!    8.0  !  99-09  (Y. Drillet)  Original code 
    50       !!         !  00-06  (J.-M. Molines)  Profiling floats for CLS  
    51       !!    8.5  !  02-10  (A. Bozec)  F90: Free form and module 
     48      !! ** Method  :   The frequency is nn_writefl 
    5249      !!---------------------------------------------------------------------- 
    53       !! * Arguments 
    54       INTEGER  :: kt                               ! time step 
    55  
    56       !! * Local declarations 
     50      INTEGER ::   kt   ! time step 
     51      !! 
    5752      CHARACTER (len=21) ::  clname 
    58       INTEGER ::   inum            ! temporary logical unit for restart file 
    59       INTEGER  ::   & 
    60          iafl,ibfl,icfl,ia1fl,ib1fl,ic1fl,jfl,irecflo,   & 
    61          iafloc,ibfloc,ia1floc,ib1floc,   & 
    62          iafln, ibfln 
     53      INTEGER ::   inum   ! temporary logical unit for restart file 
     54      INTEGER ::   iafl, ibfl, icfl, ia1fl, ib1fl, ic1fl, jfl, irecflo,   & 
     55      INTEGER ::   iafloc, ibfloc, ia1floc, ib1floc, iafln, ibfln 
    6356      INTEGER  ::    ic, jc , jpn 
    6457      INTEGER, DIMENSION ( jpnij )  :: iproc 
     
    6962      !!--------------------------------------------------------------------- 
    7063       
    71       IF( kt == nit000 .OR. MOD( kt,nwritefl)== 0 ) THEN  
     64      IF( kt == nit000 .OR. MOD( kt,nn_writefl)== 0 ) THEN  
    7265 
    7366         ! header of output floats file 
     
    8477 
    8578         IF( kt == nit000 ) THEN 
    86             irecflo = NINT( (nitend-nit000) / FLOAT(nwritefl) ) 
    87             IF(lwp) WRITE(numflo)cexper,no,irecflo,jpnfl,nwritefl 
     79            irecflo = NINT( (nitend-nit000) / FLOAT(nn_writefl) ) 
     80            IF(lwp) WRITE(numflo)cexper,no,irecflo,jpnfl,nn_writefl 
    8881         ENDIF 
    8982         zdtj = rdt / 86400.      !!bug   use of 86400 instead of the phycst parameter 
     
    246239      ENDIF 
    247240       
    248       IF( (MOD(kt,nstockfl) == 0) .OR. ( kt == nitend ) ) THEN  
     241      IF( (MOD(kt,nn_stockfl) == 0) .OR. ( kt == nitend ) ) THEN  
    249242         ! Writing the restart file  
    250243         IF(lwp) THEN 
Note: See TracChangeset for help on using the changeset viewer.