Changeset 3066 for branches/2011/dev_UKM0_2011/NEMOGCM/NEMO/OPA_SRC/IOM
- Timestamp:
- 2011-11-09T14:09:37+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2011/dev_UKM0_2011/NEMOGCM/NEMO/OPA_SRC/IOM/prtctl.F90
r2715 r3066 5 5 !!====================================================================== 6 6 !! History : 9.0 ! 05-07 (C. Talandier) original code 7 !! 3.4 ! 11-11 (C. Harris) decomposition changes for running with CICE 7 8 !!---------------------------------------------------------------------- 8 9 USE dom_oce ! ocean space and time domain variables … … 434 435 435 436 ijpi = ( jpiglo-2*jpreci + (isplt-1) ) / isplt + 2*jpreci 437 #if defined key_nemocice_decomp 438 ijpj = ( jpjglo+1-2*jprecj + (jsplt-1) ) / jsplt + 2*jprecj 439 #else 436 440 ijpj = ( jpjglo-2*jprecj + (jsplt-1) ) / jsplt + 2*jprecj 441 #endif 437 442 438 443 ALLOCATE(ilcitl (isplt,jsplt)) … … 445 450 446 451 IF( irestil == 0 ) irestil = isplt 452 #if defined key_nemocice_decomp 453 454 ! In order to match CICE the size of domains in NEMO has to be changed 455 ! The last line of blocks (west) will have fewer points 456 DO jj = 1, jsplt 457 DO ji=1, isplt-1 458 ilcitl(ji,jj) = ijpi 459 END DO 460 ilcitl(isplt,jj) = jpiglo - (isplt - 1) * (ijpi - nrecil) 461 END DO 462 463 #else 464 447 465 DO jj = 1, jsplt 448 466 DO ji = 1, irestil … … 453 471 END DO 454 472 END DO 473 474 #endif 455 475 456 476 IF( irestjl == 0 ) irestjl = jsplt 477 #if defined key_nemocice_decomp 478 479 ! Same change to domains in North-South direction as in East-West. 480 DO ji = 1, isplt 481 DO jj=1, jsplt-1 482 ilcjtl(ji,jj) = ijpj 483 END DO 484 ilcjtl(ji,jsplt) = jpjglo - (jsplt - 1) * (ijpj - nrecjl) 485 END DO 486 487 #else 488 457 489 DO ji = 1, isplt 458 490 DO jj = 1, irestjl … … 463 495 END DO 464 496 END DO 465 497 498 #endif 466 499 zidom = nrecil 467 500 DO ji = 1, isplt
Note: See TracChangeset
for help on using the changeset viewer.