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
f04992e9
Commit
f04992e9
authored
Aug 23, 2019
by
Ignacio Pisso
Browse files
add check to assert dsigma > 1 in subroutine readspecies
parent
25b45325
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/readspecies.f90
View file @
f04992e9
...
...
@@ -350,7 +350,7 @@ subroutine readspecies(id_spec,pos_spec)
end
if
! if (dsigma(i).eq.0.) dsigma(i)=1.0001 ! avoid floating exception
if
(
dsigma
(
i
)
.le.
1.
)
then
!dsigma(i)=1.0001 ! avoid floating exception
if
(
dquer
(
i
)
.gt.
0
.and.
dsigma
(
i
)
.le.
1.
)
then
!dsigma(i)=1.0001 ! avoid floating exception
!write(*,*) '#### FLEXPART MODEL ERROR! ####'
write
(
*
,
*
)
'#### FLEXPART MODEL WARNING ####'
write
(
*
,
*
)
'#### in SPECIES_'
,
aspecnumb
,
' ####'
...
...
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