Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
flexpart
flexpart
Commits
8ec045e9
Commit
8ec045e9
authored
Jul 10, 2018
by
Sabine
Browse files
bugfix, threshold was positive
parent
9d57ff76
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/calculate_watercycle.f90
View file @
8ec045e9
...
...
@@ -227,7 +227,7 @@ subroutine calculate_watercycle(partnumber,itime)
! First timestep and criteria fullfilled, keep it or throw it?
! if ( ((diff.ge.0).or.((e_minus_pi/24).gt.-2.0)) .and. (status_q(i).eq.1) ) then
if
(
((
diff
.ge.
0
)
.or.
((
e_minus_pi
/
24
)
.gt.
0.2
))
.and.
(
status_q
(
i
)
.eq.
1
)
)
then
if
(
((
diff
.ge.
0
)
.or.
((
e_minus_pi
/
24
)
.gt.
-
0.2
))
.and.
(
status_q
(
i
)
.eq.
1
)
)
then
! if (status_q(i).eq.-100) then ! never! all trajectories.
! write(*,*) 'terminated: ',i,diff,e_minus_pi,itage,itramem(i),status_q(i),qvi,val_q(i),xmass1(i,1)
status_q
(
i
)
=
-9
! this particle is invalid
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment