Changeset 1781 for palm/trunk/SOURCE/time_integration.f90
- Timestamp:
- Mar 3, 2016 3:12:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/time_integration.f90
r1765 r1781 19 19 ! Current revisions: 20 20 ! ------------------ 21 ! 21 ! some pmc calls removed at the beginning (before timeloop), 22 ! pmc initialization moved to the main program 22 23 ! 23 24 ! Former revisions: … … 245 246 ONLY: client_to_server, nested_run, nesting_mode, & 246 247 pmci_ensure_nest_mass_conservation, pmci_client_datatrans, & 247 pmci_client_initialize, pmci_client_synchronize, & 248 pmci_server_datatrans, pmci_server_initialize, & 248 pmci_client_synchronize, pmci_server_datatrans, & 249 249 pmci_server_synchronize, pmci_update_new, server_to_client 250 250 … … 309 309 time_coupling = time_since_reference_point 310 310 ENDIF 311 ENDIF312 313 IF ( nested_run ) THEN314 !315 !-- TO_DO: try to give more meaningful comments here316 !-- Domain nesting: From server to client commmunication317 !-- ( direction=SERVER_TO_CLIENT )318 !-- Nest initial conditions319 !320 !-- Send initial condition data from server to client321 CALL pmci_server_initialize322 !323 !-- Receive and interpolate initial data on client324 CALL pmci_client_initialize325 !326 !-- TO_DO, maybe removed327 !-- Obs. Nesting may be unnecessary at this point.328 !329 !-- Nest boundary conditions330 CALL pmci_server_datatrans( server_to_client )331 CALL pmci_client_datatrans( server_to_client )332 333 IF ( nesting_mode == 'two-way' ) THEN334 CALL pmci_server_datatrans( client_to_server )335 CALL pmci_client_datatrans( client_to_server )336 !337 !-- Exchange_horiz is needed for all server-domains after the anterpolation338 CALL exchange_horiz( u, nbgp )339 CALL exchange_horiz( v, nbgp )340 CALL exchange_horiz( w, nbgp )341 CALL exchange_horiz( pt, nbgp )342 IF ( .NOT. constant_diffusion ) CALL exchange_horiz( e, nbgp )343 intermediate_timestep_count = 0344 CALL pres345 ENDIF346 !347 !-- Correct the w top-BC in nest domains to ensure mass conservation.348 !-- Copy the interpolated/anterpolated boundary values to the _p349 !-- arrays, too, to make sure the interpolated/anterpolated boundary350 !-- values are carried over from one RK inner step to another.351 !-- These actions must not be done for the root domain.352 IF ( nest_domain ) THEN353 CALL pmci_ensure_nest_mass_conservation354 CALL pmci_update_new355 ENDIF356 357 311 ENDIF 358 312
Note: See TracChangeset
for help on using the changeset viewer.