Changeset 3614 for palm/trunk/UTIL
- Timestamp:
- Dec 10, 2018 7:05:46 AM (6 years ago)
- Location:
- palm/trunk/UTIL/inifor/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/UTIL/inifor/src/inifor_control.f90
r3557 r3614 26 26 ! ----------------- 27 27 ! $Id$ 28 ! abort renamed inifor_abort to avoid intrinsic problem in Fortran 29 ! 30 ! 3557 2018-11-22 16:01:22Z eckhard 28 31 ! Updated documentation 29 32 ! … … 78 81 !> You can use this routine to log events across INIFOR's code to log. For 79 82 !> warnings and abort messages, you may use the dedicated routines warn() and 80 !> abort() in this module. Both use report() and add specific behaviour to it. 83 !> inifor_abort() in this module. Both use report() and add specific behaviour 84 !> to it. 81 85 !------------------------------------------------------------------------------! 82 86 SUBROUTINE report(routine, message, debug) … … 138 142 ! ------------ 139 143 !> 140 !> abort() prepends "ERROR:" the given 'message' and prints the result to the141 !> terminal, writes it to the INIFOR logfile, and exits INIFOR.144 !> inifor_abort() prepends "ERROR:" the given 'message' and prints the result to 145 !> stdout, writes it to the INIFOR logfile, and exits INIFOR. 142 146 !> 143 147 !> You can use this routine for messaging issues, that are critical and prevent 144 148 !> INIFOR from continueing. 145 149 !------------------------------------------------------------------------------! 146 SUBROUTINE abort(routine, message)150 SUBROUTINE inifor_abort(routine, message) 147 151 148 152 CHARACTER(LEN=*), INTENT(IN) :: routine !< name of calling subroutine or function … … 152 156 STOP 153 157 154 END SUBROUTINE abort158 END SUBROUTINE inifor_abort 155 159 156 160 … … 218 222 219 223 CASE DEFAULT 220 CALL abort('run_control', "Time Budget '" // TRIM(mode) // "' is not supported.")224 CALL inifor_abort('run_control', "Time Budget '" // TRIM(mode) // "' is not supported.") 221 225 222 226 END SELECT … … 248 252 249 253 CASE DEFAULT 250 CALL abort('run_control', "Mode '" // TRIM(mode) // "' is not supported.")254 CALL inifor_abort('run_control', "Mode '" // TRIM(mode) // "' is not supported.") 251 255 252 256 END SELECT -
palm/trunk/UTIL/inifor/src/inifor_grid.f90
r3613 r3614 26 26 ! ----------------- 27 27 ! $Id$ 28 ! unused variables removed 29 ! 30 ! 3613 2018-12-07 18:20:37Z eckhard 28 31 ! Average initial profiles only over PALM domain region, not the 29 32 ! geostrophic-wind averaging region … … 1520 1523 LOGICAL :: level_based_averaging 1521 1524 1522 INTEGER :: i, j1523 1524 1525 ALLOCATE( avg_grid % x(1) ) 1525 1526 ALLOCATE( avg_grid % y(1) ) -
palm/trunk/UTIL/inifor/src/inifor_transform.f90
r3613 r3614 26 26 ! ----------------- 27 27 ! $Id$ 28 ! unused variables removed 29 ! 30 ! 3613 2018-12-07 18:20:37Z eckhard 28 31 ! Use averaged heights profile for level-based averaging instead of modified 29 32 ! COSMO heights array … … 398 401 399 402 REAL(dp) :: drhodz, dz, zk, rhok 400 INTEGER :: k , k_min403 INTEGER :: k_min 401 404 402 405 k_min = avg_grid % k_min
Note: See TracChangeset
for help on using the changeset viewer.