Ignore:
Timestamp:
Mar 26, 2018 7:13:22 PM (6 years ago)
Author:
suehring
Message:

Synchronize parent and child model after initialization and spinup phase; Check for consistent setting of spinup times in parent and child model; remove obsolete masking of tendency arrays during initialization

File:
1 edited

Legend:

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

    r2920 r2934  
    2525! -----------------
    2626! $Id$
     27! Synchronize parent and child models after initialization.
     28! Remove obsolete masking of topography grid points for Runge-Kutta weighted
     29! tendency arrays.
     30!
     31! 2920 2018-03-22 11:22:01Z kanani
    2732! Add call for precalculating apparent solar positions (moh.hefny)
    2833!
     
    492497    USE plant_canopy_model_mod,                                                &
    493498        ONLY:  pcm_init
     499
     500    USE pmc_interface,                                                         &
     501        ONLY:  nested_run
    494502
    495503    USE radiation_model_mod,                                                   &
     
    18321840                   w(k,j,i)     = MERGE( w(k,j,i), 0.0_wp,                     &
    18331841                                         BTEST( wall_flags_0(k,j,i), 3 ) )
    1834                    tu_m(k,j,i)  = MERGE( tu_m(k,j,i), 0.0_wp,                  &
    1835                                          BTEST( wall_flags_0(k,j,i), 1 ) )
    1836                    tv_m(k,j,i)  = MERGE( tv_m(k,j,i), 0.0_wp,                  &
    1837                                          BTEST( wall_flags_0(k,j,i), 2 ) )
    1838                    tw_m(k,j,i)  = MERGE( tw_m(k,j,i), 0.0_wp,                  &
    1839                                          BTEST( wall_flags_0(k,j,i), 3 ) )
    1840                    tpt_m(k,j,i) = MERGE( tpt_m(k,j,i), 0.0_wp,                 &
    1841                                          BTEST( wall_flags_0(k,j,i), 0 ) )
    18421842                ENDDO
    18431843             ENDDO
     
    25652565!-- after call of user_init!
    25662566    CALL close_file( 13 )
     2567!
     2568!-- In case of nesting, put an barrier to assure that all parent and child
     2569!-- domains finished initialization.
     2570#if defined( __parallel )
     2571    IF ( nested_run )  CALL MPI_BARRIER( MPI_COMM_WORLD, ierr )
     2572#endif
     2573
    25672574
    25682575    CALL location_message( 'leaving init_3d_model', .TRUE. )
Note: See TracChangeset for help on using the changeset viewer.