- Timestamp:
- Jul 21, 2020 10:09:46 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/lagrangian_particle_model_mod.f90
r4589 r4616 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 23 ! 22 ! 23 ! 24 24 ! Former revisions: 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Bugfix in case of strechting: k-calculation limited lower bound of 1 28 ! 29 ! 4589 2020-07-06 12:34:09Z suehring 27 30 ! remove unused variables 28 31 ! … … 1418 1421 IF ( dz_stretch_level /= -9999999.9_wp .OR. & 1419 1422 dz_stretch_level_start(1) /= -9999999.9_wp ) THEN 1420 kp = M INLOC( ABS( tmp_particle%z - zu ), DIM = 1 ) - 11423 kp = MAX( MINLOC( ABS( tmp_particle%z - zu ), DIM = 1 ) - 1, 1 ) 1421 1424 ELSE 1422 1425 kp = INT( tmp_particle%z / dz(1) + 1 + offset_ocean_nzt ) … … 7833 7836 IF ( dz_stretch_level /= -9999999.9_wp .OR. & 7834 7837 dz_stretch_level_start(1) /= -9999999.9_wp ) THEN 7835 kp = M INLOC( ABS( particle_array(n)%z - zu ), DIM = 1 ) - 17838 kp = MAX( MINLOC( ABS( particle_array(n)%z - zu ), DIM = 1 ) - 1, 1 ) 7836 7839 ELSE 7837 7840 kp = INT( particle_array(n)%z / dz(1) + 1 + offset_ocean_nzt )
Note: See TracChangeset
for help on using the changeset viewer.