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
33279f73
Commit
33279f73
authored
Feb 10, 2017
by
Sabine
Browse files
counting how often xscav is less than 1
parent
6473ad39
Changes
1
Show whitespace changes
Inline
Side-by-side
src/conccalc.f90
View file @
33279f73
...
...
@@ -58,13 +58,13 @@ subroutine conccalc(itime,weight)
real
::
rhoprof
(
2
),
rhoi
real
::
xl
,
yl
,
wx
,
wy
,
w
real
,
parameter
::
factor
=
.596831
,
hxmax
=
6.0
,
hymax
=
4.0
,
hzmax
=
150.
integer
xscav_count
! For forward simulations, make a loop over the number of species;
! for backward simulations, make an additional loop over the
! releasepoints
!***************************************************************************
xscav_count
=
0
do
i
=
1
,
numpart
if
(
itra1
(
i
)
.ne.
itime
)
goto
20
...
...
@@ -75,6 +75,7 @@ subroutine conccalc(itime,weight)
end
do
33
continue
if
(
xscav_frac1
(
i
,
1
)
.lt.
0
)
xscav_count
=
xscav_count
+1
! For special runs, interpolate the air density to the particle position
!************************************************************************
...
...
@@ -437,6 +438,7 @@ subroutine conccalc(itime,weight)
endif
20
continue
end
do
write
(
*
,
*
)
'xscav count:'
,
xscav_count
!***********************************************************************
! 2. Evaluate concentrations at receptor points, using the kernel method
...
...
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