Changeset 191 for palm/trunk/UTIL
- Timestamp:
- Aug 27, 2008 2:34:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/UTIL/combine_plot_fields.f90
r179 r191 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! Subdomain data are read into temporary arrays pf_tmp/pf3d_tmp in order to 7 ! avoid INTEL compiler warnings about (automatic) creation of temporary arrays 6 8 ! Bugfix: three misplaced #endif directives 7 9 ! … … 109 111 REAL :: dx, simulated_time 110 112 REAL, DIMENSION(:), ALLOCATABLE :: eta, ho, hu 111 REAL, DIMENSION(:,:), ALLOCATABLE :: pf 112 REAL(spk), DIMENSION(:,:,:), ALLOCATABLE :: pf3d 113 REAL, DIMENSION(:,:), ALLOCATABLE :: pf, pf_tmp 114 REAL(spk), DIMENSION(:,:,:), ALLOCATABLE :: pf3d, pf3d_tmp 113 115 114 116 PRINT*, '' … … 357 359 ! 358 360 !-- Read the subdomain grid-point values 359 READ ( id+110 ) pf(xa:xe,ya:ye) 361 ALLOCATE( pf_tmp(xa:xe,ya:ye) ) 362 READ ( id+110 ) pf_tmp 363 pf(xa:xe,ya:ye) = pf_tmp 364 DEALLOCATE( pf_tmp ) 360 365 ENDIF 361 366 IF ( id == 0 ) fanz(av) = fanz(av) + 1 … … 654 659 !-- Read subdomain indices and grid point values 655 660 READ ( id+110, END=999 ) xa, xe, ya, ye, za, ze 656 READ ( id+110 ) pf3d(xa:xe,ya:ye,za:ze) 661 ALLOCATE( pf3d_tmp(xa:xe,ya:ye,za:ze) ) 662 READ ( id+110 ) pf3d_tmp 663 pf3d(xa:xe,ya:ye,za:ze) = pf3d_tmp 664 DEALLOCATE( pf3d_tmp ) 657 665 IF ( id == 0 ) fanz(av) = fanz(av) + 1 658 666
Note: See TracChangeset
for help on using the changeset viewer.