Changeset 2958 for palm


Ignore:
Timestamp:
Apr 11, 2018 3:38:13 PM (7 years ago)
Author:
suehring
Message:

Synchronize longitude and latitude between nested model domains (values are taken from the root model).

File:
1 edited

Legend:

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

    r2955 r2958  
    2525! -----------------
    2626! $Id$
     27! Synchronize longitude and latitude between nested model domains, values are
     28! taken from the root model.
     29!
     30! 2955 2018-04-09 15:14:01Z suehring
    2731! Extend checks for consistent setting of buildings, its ID and type.
    2832! Add log-points to measure CPU time of NetCDF data input.
     
    560564#endif
    561565       ENDDO
     566!
     567!--    In case of nested runs, each model domain might have different longitude
     568!--    and latitude, which would result in different Coriolis parameters and
     569!--    sun-zenith angles. To avoid this, longitude and latitude in each model
     570!--    domain will be set to the values of the root model. Please note, this
     571!--    synchronization is required already here.
     572#if defined( __parallel )
     573       CALL MPI_BCAST( init_model%latitude, 1, MPI_REAL, 0,                    &
     574                       MPI_COMM_WORLD, ierr )
     575       CALL MPI_BCAST( init_model%longitude, 1, MPI_REAL, 0,                   &
     576                       MPI_COMM_WORLD, ierr )
     577#endif
     578
    562579
    563580    END SUBROUTINE netcdf_data_input_init
Note: See TracChangeset for help on using the changeset viewer.