Changeset 2932 for palm/trunk/SOURCE/pmc_handle_communicator_mod.f90
- Timestamp:
- Mar 26, 2018 9:39:22 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/pmc_handle_communicator_mod.f90
r2841 r2932 25 25 ! ----------------- 26 26 ! $Id$ 27 ! nestpar renamed to nesting_parameters 28 ! 29 ! 2841 2018-02-27 15:02:57Z knoop 27 30 ! Bugfix: wrong placement of include 'mpif.h' corrected 28 31 ! … … 146 149 147 150 INTEGER, PARAMETER, PUBLIC :: pmc_error_npes = 1 !< illegal number of processes 148 INTEGER, PARAMETER, PUBLIC :: pmc_namelist_error = 2 !< error(s) in nest parnamelist151 INTEGER, PARAMETER, PUBLIC :: pmc_namelist_error = 2 !< error(s) in nesting_parameters namelist 149 152 INTEGER, PARAMETER, PUBLIC :: pmc_no_namelist_found = 3 !< no couple layout namelist found 150 153 … … 152 155 INTEGER :: m_my_cpl_id !< coupler id of this model 153 156 INTEGER :: m_parent_id !< coupler id of parent of this model 154 INTEGER :: m_ncpl !< number of couplers given in nest parnamelist157 INTEGER :: m_ncpl !< number of couplers given in nesting_parameters namelist 155 158 156 159 TYPE(pmc_layout), PUBLIC, DIMENSION(pmc_max_models) :: m_couplers !< information of all couplers … … 268 271 !-- comm2d have not yet been assigned at this point. 269 272 IF ( m_world_rank == 0 ) THEN 270 message_string = 'errors in \$nest par'273 message_string = 'errors in \$nesting_parameters' 271 274 CALL message( 'pmc_init_model', 'PA0223', 3, 2, 0, 6, 0 ) 272 275 ENDIF … … 484 487 TYPE(pmc_layout), DIMENSION(pmc_max_models) :: domain_layouts 485 488 486 NAMELIST /nestpar/ domain_layouts, nesting_datatransfer_mode, nesting_mode 487 489 NAMELIST /nesting_parameters/ domain_layouts, nesting_datatransfer_mode, & 490 nesting_mode 491 488 492 ! 489 493 !-- Initialize some coupling variables … … 495 499 !-- Open the NAMELIST-file and read the nesting layout 496 500 CALL check_open( 11 ) 497 READ ( 11, nest par, IOSTAT=istat )501 READ ( 11, nesting_parameters, IOSTAT=istat ) 498 502 ! 499 503 !-- Set filepointer to the beginning of the file. Otherwise process 0 will later … … 503 507 IF ( istat < 0 ) THEN 504 508 ! 505 !-- No nest par-NAMELIST found509 !-- No nesting_parameters-NAMELIST found 506 510 pmc_status = pmc_no_namelist_found 507 511 RETURN 508 512 ELSEIF ( istat > 0 ) THEN 509 513 ! 510 !-- Errors in reading nest par-NAMELIST514 !-- Errors in reading nesting_parameters-NAMELIST 511 515 pmc_status = pmc_namelist_error 512 516 RETURN … … 519 523 m_couplers = domain_layouts 520 524 ! 521 !-- Get the number of nested models given in the nest par-NAMELIST525 !-- Get the number of nested models given in the nesting_parameters-NAMELIST 522 526 DO i = 1, pmc_max_models 523 527 !
Note: See TracChangeset
for help on using the changeset viewer.