- Timestamp:
- 2014-02-04T13:14:54+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2011/DEV_r2739_STFC_dCSE/NEMOGCM/NEMO/OPA_SRC/LBC/partition_mod.F90
r3849 r4437 14 14 nperio, & ! Local periodicity 15 15 nwidthmax, & ! Width of widest northern domain 16 narea ! ID of local area (= rank + 1) 16 narea, & ! ID of local area (= rank + 1) 17 mbkmax ! Deepest level above ocean floor 17 18 #if defined key_mpp_mpi 18 19 USE lib_mpp, ONLY: mppsize, mppsync, mpi_comm_opa, & … … 115 116 INTEGER :: iproc, jproc ! Loop index 116 117 INTEGER :: ierr ! Error flag 117 INTEGER :: i,j !,npoints ! ARPDBG for debugging only118 INTEGER :: ji, jj 118 119 CHARACTER(LEN=4) :: intStr 119 120 … … 181 182 WRITE (997,FMT='("0 1 0 setrgbcolor")') 182 183 WRITE (997,FMT='("newpath")') 183 DO j = 1,jpjglo,1184 DO i = 1,jpiglo,1185 IF(imask( i,j) /= 1)THEN186 WRITE (997,FMT='(I3," u ",I3," u 1 u 0 360 arc closepath")') i,j184 DO jj = 1,jpjglo,1 185 DO ji = 1,jpiglo,1 186 IF(imask(ji,jj) /= 1)THEN 187 WRITE (997,FMT='(I3," u ",I3," u 1 u 0 360 arc closepath")') ji, jj 187 188 ! Use 'fill' instead of 'stroke' to get filled circles 188 189 WRITE (997,FMT='("fill")') … … 298 299 ! read 299 300 CALL write_partition() 301 302 ! Initialise mbkmax because it's needed in any halo swap calls but we didn't have 303 ! jpi and jpj until the partitioning was done. 304 DO jj=1,jpj,1 305 DO ji=1,jpi,1 306 mbkmax(ji,jj) = ibotlevel(MIN(jpiglo,ji+nimpp-1), & 307 MIN(jpjglo,jj+njmpp-1)) 308 END DO 309 END DO 300 310 301 311 ! ARPDBG - test comms setup
Note: See TracChangeset
for help on using the changeset viewer.