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 6225 for branches/2014/dev_r4704_NOC5_MPP_BDY_UPDATE/NEMOGCM/NEMO/OPA_SRC/FLO/flowri.F90 – NEMO

Ignore:
Timestamp:
2016-01-08T10:35:19+01:00 (8 years ago)
Author:
jamesharle
Message:

Update MPP_BDY_UPDATE branch to be consistent with head of trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_r4704_NOC5_MPP_BDY_UPDATE/NEMOGCM/NEMO/OPA_SRC/FLO/flowri.F90

    r3294 r6225  
    33   !!                       ***  MODULE  flowri  *** 
    44   !! 
    5    !! write floats trajectory in ascii                    ln_flo_ascii = T 
    6    !!                      or in netcdf ( IOM or IOSPSL ) ln_flo_ascii = F            
    7    !!  
    8    !! 
     5   !! Ocean floats: write floats trajectory in ascii                    ln_flo_ascii = T 
     6   !!                                    or in netcdf ( IOM or IOSPSL ) ln_flo_ascii = F            
    97   !!====================================================================== 
    10    !!  History : 
    11    !!    8.0  !  99-09  (Y. Drillet)    : Original code 
    12    !!         !  00-06  (J.-M. Molines) : Profiling floats for CLS  
    13    !!    8.5  !  02-10  (A. Bozec)  F90 : Free form and module 
    14    !!    3.2  !  10-08  (slaw, cbricaud): netcdf outputs and others  
    15    !!---------------------------------------------------------------------- 
    16 #if   defined key_floats   ||   defined key_esopa 
     8   !!  History :  OPA  !  1999-09  (Y. Drillet)    : Original code 
     9   !!              -   !  2000-06  (J.-M. Molines) : Profiling floats for CLS  
     10   !!   NEMO      1.0  !  2002-10  (A. Bozec)  F90 : Free form and module 
     11   !!             3.2  !  2010-08  (slaw, cbricaud): netcdf outputs and others  
     12   !!---------------------------------------------------------------------- 
     13#if   defined key_floats 
    1714   !!---------------------------------------------------------------------- 
    1815   !!   'key_floats'                                     float trajectories 
    1916   !!---------------------------------------------------------------------- 
    20  
    21    !! * Modules used 
    2217   USE flo_oce         ! ocean drifting floats 
    2318   USE oce             ! ocean dynamics and tracers 
     
    3025   USE iom             ! I/O library 
    3126 
    32  
    3327   IMPLICIT NONE 
    3428   PRIVATE 
     
    4640   REAL(wp), ALLOCATABLE, DIMENSION(:) ::   ztem , zsal, zrho   ! 2D workspace 
    4741 
    48    !! * Substitutions 
    49 #  include "domzgr_substitute.h90" 
    5042   !!---------------------------------------------------------------------- 
    5143   !! NEMO/OPA 3.2 , LODYC-IPSL  (2009) 
    52    !! $Header: 
    53    !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt  
    54    !!---------------------------------------------------------------------- 
    55  
     44   !! $Id$ 
     45   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
     46   !!---------------------------------------------------------------------- 
    5647CONTAINS 
    5748 
     
    132123               zlon(jfl) = (1.-zafl)*(1.-zbfl)*glamt(iafloc ,ibfloc ) + (1.-zafl) * zbfl * glamt(iafloc ,ib1floc)   & 
    133124                     +     zafl *(1.-zbfl)*glamt(ia1floc,ibfloc ) +     zafl  * zbfl * glamt(ia1floc,ib1floc) 
    134                zdep(jfl) = (1.-zcfl)*fsdepw(iafloc,ibfloc,icfl ) + zcfl * fsdepw(iafloc,ibfloc,ic1fl)      
     125               zdep(jfl) = (1.-zcfl)*gdepw_n(iafloc,ibfloc,icfl ) + zcfl * gdepw_n(iafloc,ibfloc,ic1fl)      
    135126 
    136127               !save temperature, salinity and density at this position 
     
    153144            zlon(jfl) = (1.-zafl)*(1.-zbfl)*glamt(iafloc ,ibfloc ) + (1.-zafl) * zbfl * glamt(iafloc ,ib1floc)   & 
    154145                      +     zafl *(1.-zbfl)*glamt(ia1floc,ibfloc ) +     zafl  * zbfl * glamt(ia1floc,ib1floc) 
    155             zdep(jfl) = (1.-zcfl)*fsdepw(iafloc,ibfloc,icfl ) + zcfl * fsdepw(iafloc,ibfloc,ic1fl) 
     146            zdep(jfl) = (1.-zcfl)*gdepw_n(iafloc,ibfloc,icfl ) + zcfl * gdepw_n(iafloc,ibfloc,ic1fl) 
    156147 
    157148            ztem(jfl) = tsn(iafloc,ibfloc,icfl,jp_tem) 
Note: See TracChangeset for help on using the changeset viewer.