- Timestamp:
- Mar 17, 2017 11:07:39 AM (8 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/check_parameters.f90
r2170 r2178 3603 3603 dist_nxl = MAX( inflow_disturbance_begin, nxl ) 3604 3604 dist_nxr(1) = MIN( inflow_disturbance_end, nxr ) 3605 ELSEIF ( bc_lr == 'nested' ) THEN 3606 dist_nxl = MAX( inflow_disturbance_begin, nxl ) 3605 3607 ENDIF 3606 3608 IF ( bc_ns == 'dirichlet/radiation' ) THEN … … 3610 3612 dist_nys = MAX( inflow_disturbance_begin, nys ) 3611 3613 dist_nyn(1) = MIN( inflow_disturbance_end, nyn ) 3614 ELSEIF ( bc_ns == 'nested' ) THEN 3615 dist_nys = MAX( inflow_disturbance_begin, nys ) 3612 3616 ENDIF 3613 3617 ELSE -
palm/trunk/SOURCE/init_pegrid.f90
r2177 r2178 261 261 numproc_sqr = SQRT( REAL( numprocs, KIND=wp ) ) 262 262 pdims(1) = MAX( numproc_sqr , 1 ) 263 DO WHILE ( MOD( numprocs , pdims(1) ) /= 0 ) 263 pdims(2) = numprocs / pdims(1) 264 DO WHILE ( MOD( numprocs , pdims(1) ) /= 0 .OR. & 265 MOD( nx+1, pdims(1) ) /= 0 .OR. & 266 MOD( ny+1, pdims(2) ) /= 0 ) 264 267 pdims(1) = pdims(1) - 1 268 pdims(2) = numprocs / pdims(1) 265 269 ENDDO 266 pdims(2) = numprocs / pdims(1)267 270 268 271 ELSEIF ( npex /= -1 .AND. npey /= -1 ) THEN -
palm/trunk/SOURCE/palm.f90
r2177 r2178 161 161 162 162 USE control_parameters, & 163 ONLY: c onstant_diffusion, coupling_char, coupling_mode,&163 ONLY: cloud_physics, constant_diffusion, coupling_char, coupling_mode,& 164 164 do2d_at_begin, do3d_at_begin, humidity, initializing_actions, & 165 165 io_blocks, io_group, & 166 large_scale_forcing, message_string, nest_domain, neutral, & 166 large_scale_forcing, message_string, microphysics_seifert, & 167 nest_domain, neutral, & 167 168 nudging, passive_scalar, simulated_time, simulated_time_chr, & 168 169 urban_surface, & … … 203 204 USE pmc_interface, & 204 205 ONLY: cpl_id, nested_run, pmci_child_initialize, pmci_init, & 205 pmci_modelconfiguration, pmci_parent_initialize 206 pmci_modelconfiguration, pmci_parent_initialize, & 207 pmci_ensure_nest_mass_conservation 206 208 207 209 USE radiation_model_mod, & … … 352 354 !-- Send initial condition data from parent to children 353 355 CALL pmci_parent_initialize 354 END IF355 356 ! 356 357 !-- Exchange_horiz is needed after the nest initialization 357 IF ( nest_domain ) THEN 358 CALL exchange_horiz( u, nbgp ) 359 CALL exchange_horiz( v, nbgp ) 360 CALL exchange_horiz( w, nbgp ) 361 IF ( .NOT. neutral ) THEN 362 CALL exchange_horiz( pt, nbgp ) 358 IF ( nest_domain ) THEN 359 CALL exchange_horiz( u, nbgp ) 360 CALL exchange_horiz( v, nbgp ) 361 CALL exchange_horiz( w, nbgp ) 362 IF ( .NOT. neutral ) THEN 363 CALL exchange_horiz( pt, nbgp ) 364 ENDIF 365 IF ( .NOT. constant_diffusion ) CALL exchange_horiz( e, nbgp ) 366 IF ( humidity ) THEN 367 CALL exchange_horiz( q, nbgp ) 368 IF ( cloud_physics .AND. microphysics_seifert ) THEN 369 ! CALL exchange_horiz( qc, nbgp ) 370 CALL exchange_horiz( qr, nbgp ) 371 ! CALL exchange_horiz( nc, nbgp ) 372 CALL exchange_horiz( nr, nbgp ) 373 ENDIF 374 ENDIF 375 IF ( passive_scalar ) CALL exchange_horiz( s, nbgp ) 376 377 CALL pmci_ensure_nest_mass_conservation 378 CALL pres 363 379 ENDIF 364 IF ( .NOT. constant_diffusion ) CALL exchange_horiz( e, nbgp )365 IF ( humidity ) CALL exchange_horiz( q, nbgp )366 IF ( passive_scalar ) CALL exchange_horiz( s, nbgp )367 380 ENDIF 368 381 -
palm/trunk/SOURCE/time_integration.f90
r2175 r2178 676 676 CALL disturb_field( nzb_u_inner, tend, u ) 677 677 CALL disturb_field( nzb_v_inner, tend, v ) 678 ELSEIF ( .NOT. bc_lr_cyc .OR. .NOT. bc_ns_cyc ) THEN 678 ELSEIF ( ( .NOT. bc_lr_cyc .OR. .NOT. bc_ns_cyc ) & 679 .AND. .NOT. nest_domain ) THEN 679 680 ! 680 681 !-- Runs with a non-cyclic lateral wall need perturbations
Note: See TracChangeset
for help on using the changeset viewer.