Changeset 181 for palm/trunk/SOURCE
- Timestamp:
- Jul 30, 2008 7:07:47 AM (16 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/CURRENT_MODIFICATIONS
r179 r181 42 42 Changed: 43 43 ------- 44 Strict grid matching along z is not needed for mg-solver. (check_parameters) 45 44 46 Sharp lateral edges of the plant canopy introduced. Before smaller 45 47 values of the leaf area density than those applied in the prognostic … … 72 74 Workaround for getting information about the coupling mode. (palm) 73 75 74 advec_s_ups, advec_u_ups, advec_v_ups, advec_w_ups, calc_spectra, check_open, init_3d_model, modules, palm, parin, poisfft, read_var_list, read_3d_binary, transpose, write_var_list, write_3d_binary 76 Format adjustments in order to allow CPU# > 999. (cpu_statistics) 77 78 advec_s_ups, advec_u_ups, advec_v_ups, advec_w_ups, calc_spectra, check_open, check_parameters, cpu_statistics, init_3d_model, modules, palm, parin, poisfft, read_var_list, read_3d_binary, transpose, write_var_list, write_3d_binary 75 79 76 80 77 81 Errors: 78 82 ------ 83 Bugfix: zero assignments to tendency arrays in case of restarts (init_3d_model) 84 85 Bugfix: wrong grid level used in multigrid solver, routine restrict (poismg) 86 79 87 Bugfix: Construction of vertical profiles when 10 gradients have been 80 88 specified in the parameter list (ug, vg, pt, q, sa, lad). (check_parameters) … … 109 117 110 118 111 check_parameters, flow_statistics, init_dvrp, local_stop, plant_canopy_model, pres, read_3d_binary, user_interface, write_3d_binary119 check_parameters, flow_statistics, init_dvrp, init_3d_model, local_stop, plant_canopy_model, poismg, pres, read_3d_binary, user_interface, write_3d_binary 112 120 -
palm/trunk/SOURCE/check_parameters.f90
r177 r181 5 5 ! ----------------- 6 6 ! Bug fix: Construction of vertical profiles when 10 gradients have been 7 ! specified in the parameter list (ug, vg, pt, q, sa, lad) 8 ! 7 ! specified in the parameter list (ug, vg, pt, q, sa, lad) 8 ! 9 ! Strict grid matching along z is not needed for mg-solver. 9 10 ! Leaf area density (LAD) explicitly set to its surface value at k=0 10 11 ! Case of reading data for recycling included in initializing_actions, … … 369 370 CALL local_stop 370 371 ENDIF 371 IF ( ( psolver == 'poisfft_hybrid' .OR. psolver == 'multigrid' ) .AND. & 372 ( nxra > nxr .OR. nyna > nyn .OR. nza > nz ) ) THEN 372 IF ( psolver == 'poisfft_hybrid' .AND. & 373 ( nxra > nxr .OR. nyna > nyn .OR. nza > nz ) .OR. & 374 psolver == 'multigrid' .AND. & 375 ( nxra > nxr .OR. nyna > nyn ) ) THEN 373 376 IF ( myid == 0 ) THEN 374 377 PRINT*, '+++ check_parameters:' -
palm/trunk/SOURCE/cpu_statistics.f90
r83 r181 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! 6 ! Format adjustments in order to allow CPU# > 999 7 7 ! 8 8 ! Former revisions: … … 125 125 CALL check_open( 18 ) 126 126 WRITE ( 18, 100 ) TRIM( run_description_header ), & 127 numprocs * threads_per_task, numprocs, &127 numprocs * threads_per_task, pdims(1), pdims(2), & 128 128 threads_per_task 129 129 DO … … 249 249 250 250 251 100 FORMAT (A/11('-')//'CPU measures for ',I3,' PEs (',I3,' tasks *',I3, & 252 &' threads):'/ & 253 &'--------------------------------------------------'// & 251 100 FORMAT (A/11('-')//'CPU measures for ',I5,' PEs (',I5,'(x) * ',I5,'(y', & 252 &') tasks *',I5,' threads):'/ & 253 &'----------------------------------------------------------', & 254 &'------------'//& 254 255 &'place: mean counts min ', & 255 256 &' max rms'/ & -
palm/trunk/SOURCE/init_3d_model.f90
r163 r181 7 7 ! Actual revisions: 8 8 ! ----------------- 9 ! Bugfix: zero assignments to tendency arrays in case of restarts 9 10 ! Further amendments to and modifications in the initialisation of the plant 10 11 ! canopy model 11 12 ! Allocation of hom_sum moved to parin, initialization of spectrum_x|y directly 12 13 ! after allocating theses arrays, 13 ! read data for recycling added as new initialization option 14 ! read data for recycling added as new initialization option, 15 ! dummy allocation for diss 14 16 ! 15 17 ! Former revisions: … … 235 237 IF ( use_sgs_for_particles ) THEN 236 238 ALLOCATE ( diss(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1) ) 239 ELSE 240 ALLOCATE ( diss(2,2,2) ) ! required because diss is used as a 241 ! formal parameter 237 242 ENDIF 238 243 … … 1046 1051 IF ( humidity .OR. passive_scalar ) q_p = q 1047 1052 IF ( ocean ) sa_p = sa 1053 1054 ! 1055 !-- Allthough tendency arrays are set in prognostic_equations, they have 1056 !-- have to be predefined here because they are used (but multiplied with 0) 1057 !-- there before they are set. 1058 IF ( timestep_scheme(1:5) == 'runge' ) THEN 1059 te_m = 0.0; tpt_m = 0.0; tu_m = 0.0; tv_m = 0.0; tw_m = 0.0 1060 IF ( humidity .OR. passive_scalar ) tq_m = 0.0 1061 IF ( ocean ) tsa_m = 0.0 1062 ENDIF 1048 1063 1049 1064 ELSE -
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 -
palm/trunk/SOURCE/poismg.f90
r139 r181 8 8 ! Actual revisions: 9 9 ! ----------------- 10 ! 10 ! Bugfix: grid_level+1 has to be used in restrict for flags-array 11 11 ! 12 12 ! Former revisions: … … 274 274 ! 275 275 !-- Choose flag array of the upper level 276 SELECT CASE ( l )276 SELECT CASE ( l+1 ) 277 277 CASE ( 1 ) 278 278 flags => wall_flags_1
Note: See TracChangeset
for help on using the changeset viewer.