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 115 for trunk/NEMO/LIM_SRC – NEMO

Changeset 115 for trunk/NEMO/LIM_SRC


Ignore:
Timestamp:
2004-06-28T16:52:01+02:00 (20 years ago)
Author:
opalod
Message:

CT : UPDATE074 : Mpp addition with a call to mpp_max(zcfl) so that the CFL test is done on a the global domain and not only for each processor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/LIM_SRC/limtrp.F90

    r76 r115  
    2424   USE limhdf 
    2525   USE lbclnk 
     26   USE lib_mpp 
    2627 
    2728   IMPLICIT NONE 
     
    122123         zcfl  = MAX( zcfl, MAXVAL( ABS( zvi_v( :     ,1:jpjm1) ) * rdt_ice / e2v( :     ,1:jpjm1) ) ) 
    123124 
    124          IF ( zcfl > 0.5 )   WRITE(numout,*) 'lim_trp : violation of cfl criterion the ',nday,'th day, cfl = ',zcfl 
     125         IF (lk_mpp ) CALL mpp_max(zcfl) 
     126 
     127         IF ( zcfl > 0.5 .AND. lwp )   WRITE(numout,*) 'lim_trp : violation of cfl criterion the ',nday,'th day, cfl = ',zcfl 
    125128 
    126129         ! content of properties 
Note: See TracChangeset for help on using the changeset viewer.