Ignore:
Timestamp:
Mar 3, 2016 3:12:23 PM (8 years ago)
Author:
raasch
Message:

some pmc calls completely removed, some moved from time_integration to main program, t_..m arrays removed from pmc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/time_integration.f90

    r1765 r1781  
    1919! Current revisions:
    2020! ------------------
    21 !
     21! some pmc calls removed at the beginning (before timeloop),
     22! pmc initialization moved to the main program
    2223!
    2324! Former revisions:
     
    245246        ONLY:  client_to_server, nested_run, nesting_mode,                     &
    246247               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,                 &
    249249               pmci_server_synchronize, pmci_update_new, server_to_client
    250250
     
    309309          time_coupling = time_since_reference_point
    310310       ENDIF
    311     ENDIF
    312 
    313     IF ( nested_run )  THEN
    314 !
    315 !--    TO_DO: try to give more meaningful comments here
    316 !--    Domain nesting: From server to client commmunication
    317 !--    ( direction=SERVER_TO_CLIENT )
    318 !--    Nest initial conditions
    319 !
    320 !--    Send initial condition data from server to client
    321        CALL pmci_server_initialize
    322 !
    323 !--    Receive and interpolate initial data on client
    324        CALL pmci_client_initialize
    325 !
    326 !--    TO_DO, maybe removed
    327 !--    Obs. Nesting may be unnecessary at this point.
    328 !
    329 !--    Nest boundary conditions
    330        CALL pmci_server_datatrans( server_to_client )
    331        CALL pmci_client_datatrans( server_to_client )
    332 
    333        IF ( nesting_mode == 'two-way' )  THEN
    334           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 anterpolation
    338           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 = 0
    344           CALL pres
    345        ENDIF
    346 !
    347 !--    Correct the w top-BC in nest domains to ensure mass conservation.
    348 !--    Copy the interpolated/anterpolated boundary values to the _p
    349 !--    arrays, too, to make sure the interpolated/anterpolated boundary
    350 !--    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 )  THEN
    353           CALL pmci_ensure_nest_mass_conservation
    354           CALL pmci_update_new
    355        ENDIF
    356 
    357311    ENDIF
    358312
Note: See TracChangeset for help on using the changeset viewer.