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 2528 for trunk/NEMOGCM/NEMO/OPA_SRC/FLO/floblk.F90 – NEMO

Ignore:
Timestamp:
2010-12-27T18:33:53+01:00 (13 years ago)
Author:
rblod
Message:

Update NEMOGCM from branch nemo_v3_3_beta

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/NEMO/OPA_SRC/FLO/floblk.F90

    • Property svn:eol-style deleted
    r1152 r2528  
    88   !!   'key_floats'                                     float trajectories 
    99   !!---------------------------------------------------------------------- 
    10  
    11    !!---------------------------------------------------------------------- 
    1210   !!    flotblk     : compute float trajectories with Blanke algorithme 
    1311   !!---------------------------------------------------------------------- 
    14    !! * Modules used 
    1512   USE flo_oce         ! ocean drifting floats 
    1613   USE oce             ! ocean dynamics and tracers 
     
    2320   PRIVATE 
    2421 
    25    !! * Accessibility 
    26    PUBLIC flo_blk      ! routine called by floats.F90 
     22   PUBLIC   flo_blk    ! routine called by floats.F90 
    2723 
    2824   !! * Substitutions 
    2925#  include "domzgr_substitute.h90" 
    3026   !!---------------------------------------------------------------------- 
    31    !!   OPA 9.0 , LOCEAN-IPSL (2005)  
     27   !! NEMO/OPA 3.3 , NEMO Consortium (2010) 
    3228   !! $Id$  
    33    !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt  
    34    !!---------------------------------------------------------------------- 
    35  
     29   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
     30   !!---------------------------------------------------------------------- 
    3631CONTAINS 
    3732 
     
    4641      !!      algorithm. We need to know the velocity field, the old positions 
    4742      !!      of the floats and the grid defined on the domain. 
     43      !!---------------------------------------------------------------------- 
     44      INTEGER, INTENT( in  ) ::   kt ! ocean time step 
    4845      !! 
    49       !!---------------------------------------------------------------------- 
    50       !! * arguments 
    51       INTEGER, INTENT( in  ) ::   kt ! ocean time step 
    52  
    53       !! * Local declarations 
    5446      INTEGER :: jfl              ! dummy loop arguments 
    5547      INTEGER :: ind, ifin, iloop 
     
    7870         zsurfz,                    &     ! surface of the face of the mesh  
    7971         zind 
    80       REAL(wp), DIMENSION ( 2 )  ::   & 
    81          zsurfx, zsurfy                   ! surface of the face of the mesh 
     72      REAL(wp), DIMENSION ( 2 )  ::   zsurfx, zsurfy   ! surface of the face of the mesh 
    8273      !!--------------------------------------------------------------------- 
    8374       
     
    111102      iloop = 0 
    112103222   DO jfl = 1, jpnfl 
    113 # if   defined key_mpp_mpi   ||   defined key_mpp_shmem 
     104# if   defined key_mpp_mpi 
    114105         IF( (iil(jfl) >= (mig(nldi)-jpizoom+1)) .AND. (iil(jfl) <= (mig(nlei)-jpizoom+1)) .AND.   & 
    115106             (ijl(jfl) >= (mjg(nldj)-jpjzoom+1)) .AND. (ijl(jfl) <= (mjg(nlej)-jpjzoom+1)) ) THEN 
     
    327318            ! reinitialisation of the age of FLOAT 
    328319            zagefl(jfl) = zagenewfl(jfl) 
    329 # if   defined key_mpp_mpi   ||   defined key_mpp_shmem 
     320# if   defined key_mpp_mpi 
    330321         ELSE 
    331322            ! we put zgifl, zgjfl, zgkfl, zagefl 
     
    413404         GO TO 222 
    414405      ENDIF 
    415  
     406      ! 
    416407   END SUBROUTINE flo_blk 
    417408 
Note: See TracChangeset for help on using the changeset viewer.