Changeset 181 for palm/trunk/SOURCE/init_pegrid.f90
- Timestamp:
- Jul 30, 2008 7:07:47 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_pegrid.f90
r163 r181 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! ATTENTION: nnz_x undefined problem still has to be solved!!!!!!!! 7 ! nz is used instead nnz for calculating mg-levels 6 8 ! Collect on PE0 horizontal index bounds from all other PEs, 7 9 ! broadcast the id of the inflow PE (using the respective communicator) … … 340 342 341 343 sendrecvcount_zx = nnx * nny * nnz_x 344 345 ELSE 346 ! 347 !--- Setting of dummy values because otherwise variables are undefined in 348 !--- the next step x --> y 349 !--- WARNING: This case has still to be clarified!!!!!!!!!!!! 350 nnz_x = 1 351 nzb_x = 1 352 nzt_xa = 1 353 nzt_x = 1 354 nny_x = nny 342 355 343 356 ENDIF … … 694 707 ENDDO 695 708 696 k = nnz 709 k = nz ! do not use nnz because it might be > nz due to transposition 710 ! requirements 697 711 DO WHILE ( MOD( k, 2 ) == 0 .AND. k /= 2 ) 698 712 k = k / 2
Note: See TracChangeset
for help on using the changeset viewer.