Commit f04992e9 authored by Ignacio Pisso's avatar Ignacio Pisso
Browse files

add check to assert dsigma > 1 in subroutine readspecies

parent 25b45325
...@@ -350,7 +350,7 @@ subroutine readspecies(id_spec,pos_spec) ...@@ -350,7 +350,7 @@ subroutine readspecies(id_spec,pos_spec)
end if end if
! if (dsigma(i).eq.0.) dsigma(i)=1.0001 ! avoid floating exception ! 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 ERROR! ####'
write(*,*) '#### FLEXPART MODEL WARNING ####' write(*,*) '#### FLEXPART MODEL WARNING ####'
write(*,*) '#### in SPECIES_',aspecnumb, ' ####' write(*,*) '#### in SPECIES_',aspecnumb, ' ####'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment