Changeset 2773 for palm/trunk/SOURCE/check_parameters.f90
- Timestamp:
- Jan 30, 2018 2:12:54 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/check_parameters.f90
r2766 r2773 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Check for consistent initialization in nesting mode added. 28 ! 29 ! 2766 2018-01-22 17:17:47Z kanani 27 30 ! Removed preprocessor directive __chem 28 31 ! … … 666 669 INTEGER(iwp) :: lsp !< running index for chem spcs. 667 670 671 LOGICAL :: check_nest !< flag used to check initialization in case of nesting 668 672 LOGICAL :: found !< 669 673 … … 1340 1344 CALL message( 'check_parameters', 'PA0033', 1, 2, 0, 6, 0 ) 1341 1345 ENDIF 1346 ! 1347 !-- In case of nested run assure that all domains are initialized the same 1348 !-- way, i.e. if at least at one domain is initialized with soil and 1349 !-- atmospheric data provided by COSMO, all domains must be initialized the 1350 !-- same way, to assure that soil and atmospheric quantities are 1351 !-- consistent. 1352 IF ( nested_run ) THEN 1353 check_nest = .TRUE. 1354 #if defined( __parallel ) 1355 CALL MPI_ALLREDUCE( TRIM( initializing_actions ) == 'inifor', & 1356 check_nest, 1, MPI_LOGICAL, & 1357 MPI_LAND, MPI_COMM_WORLD, ierr ) 1358 1359 IF ( TRIM( initializing_actions ) == 'inifor' .AND. & 1360 .NOT. check_nest ) THEN 1361 message_string = 'In case of nesting, if at least in one ' // & 1362 'domain initializing_actions = inifor, ' // & 1363 'all domains need to be initialized that way.' 1364 CALL message( 'netcdf_data_input_mod', 'PA0430', 3, 2, 0, 6, 0 ) 1365 ENDIF 1366 #endif 1367 ENDIF 1342 1368 1343 1369 IF ( cloud_physics .AND. .NOT. humidity ) THEN
Note: See TracChangeset
for help on using the changeset viewer.