- Timestamp:
- 2016-01-08T10:35:19+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2014/dev_r4704_NOC5_MPP_BDY_UPDATE/NEMOGCM/NEMO/OPA_SRC/FLO/flowri.F90
r3294 r6225 3 3 !! *** MODULE flowri *** 4 4 !! 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 9 7 !!====================================================================== 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 17 14 !!---------------------------------------------------------------------- 18 15 !! 'key_floats' float trajectories 19 16 !!---------------------------------------------------------------------- 20 21 !! * Modules used22 17 USE flo_oce ! ocean drifting floats 23 18 USE oce ! ocean dynamics and tracers … … 30 25 USE iom ! I/O library 31 26 32 33 27 IMPLICIT NONE 34 28 PRIVATE … … 46 40 REAL(wp), ALLOCATABLE, DIMENSION(:) :: ztem , zsal, zrho ! 2D workspace 47 41 48 !! * Substitutions49 # include "domzgr_substitute.h90"50 42 !!---------------------------------------------------------------------- 51 43 !! 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 !!---------------------------------------------------------------------- 56 47 CONTAINS 57 48 … … 132 123 zlon(jfl) = (1.-zafl)*(1.-zbfl)*glamt(iafloc ,ibfloc ) + (1.-zafl) * zbfl * glamt(iafloc ,ib1floc) & 133 124 + 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) 135 126 136 127 !save temperature, salinity and density at this position … … 153 144 zlon(jfl) = (1.-zafl)*(1.-zbfl)*glamt(iafloc ,ibfloc ) + (1.-zafl) * zbfl * glamt(iafloc ,ib1floc) & 154 145 + 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) 156 147 157 148 ztem(jfl) = tsn(iafloc,ibfloc,icfl,jp_tem)
Note: See TracChangeset
for help on using the changeset viewer.