Add tol variable replacing lim_zero as a tolerance for real checks

This commit is contained in:
Alex Selimov 2020-03-13 15:11:22 -04:00
parent 6642c2a1b7
commit 44a9dbaead
2 changed files with 6 additions and 5 deletions

View file

@ -6,7 +6,8 @@ module parameters
integer, parameter :: dp= selected_real_kind(15,307)
!Parameters for floating point tolerance
real(kind=dp), parameter :: lim_zero = epsilon(1.0_dp), &
lim_large = huge(1.0_dp)
lim_large = huge(1.0_dp), &
tol = 10.0_dp**(-6.0_dp)
logical, save :: lmpcac
!Numeric constants