more sensible cutoff for scatter
This commit is contained in:
parent
230ffe8f35
commit
9b1e72e7bc
|
@ -1783,7 +1783,7 @@ function math_sampleGaussOri(center,noise)
|
||||||
real(pReal), dimension(3), parameter :: ORIGIN = 0.0_pReal
|
real(pReal), dimension(3), parameter :: ORIGIN = 0.0_pReal
|
||||||
real(pReal), dimension(5) :: rnd
|
real(pReal), dimension(5) :: rnd
|
||||||
|
|
||||||
noScatter: if (abs(noise) < tol_math_check) then
|
noScatter: if (noise < 0.5_pReal*INRAD) then
|
||||||
math_sampleGaussOri = center
|
math_sampleGaussOri = center
|
||||||
else noScatter
|
else noScatter
|
||||||
! Helming uses different distribution with Bessel functions
|
! Helming uses different distribution with Bessel functions
|
||||||
|
|
Loading…
Reference in New Issue