35 integer,
parameter :: rk = kind(1.0d0)
36 integer,
intent(in) :: loctype
38 real(kind=rk),
intent(in) :: dis
39 real(kind=rk),
intent(out) :: scal
41 logical,
intent(out) :: inc
43 real(kind=rk),
parameter :: minscal_gaussian = exp(-8.0d0)
48 scal = exp(-(dis**2)/(2.0_rk*pf%len**2))
49 if(scal .gt. minscal_gaussian)
then
55 write(emp_e,*)
'EMP: ERROR: loctype not supported in subroutine loc_funct&
Module that stores the information about the outputting from empire.
subroutine loc_function(loctype, dis, scal, inc)
subroutine to compute a localisation weighting based on a distance
module pf_control holds all the information to control the the main program