Skip to content
Snippets Groups Projects
Commit 1482c18f authored by Rudolf Zeller's avatar Rudolf Zeller
Browse files

reintroduced tolerance value 1.d-16 in function half-space, seems to be...

reintroduced tolerance value 1.d-16 in function half-space, seems to be necessary for large-scale MnGe B20 system
parent 7a1506c7
No related branches found
No related tags found
No related merge requests found
......@@ -576,7 +576,10 @@ module Voronoi_mod
#ifndef NDEBUG
if (sum(abs(p(1:3))) < 1.d-80) die_here('halfspace: a,b,c too small.')
#endif
half_space = (p(0)*(p(1)*v(1) + p(2)*v(2) + p(3)*v(3)) <= p(0)*p(0))
! half_space = (p(0)*(p(1)*v(1) + p(2)*v(2) + p(3)*v(3)) <= p(0)*p(0))
! reintroduced tolerance value 1.d-16, seems to be necessary for large-scale
! MnGe B20 system (R.Zeller June 2020)
half_space = (p(0)*(p(1)*v(1) + p(2)*v(2) + p(3)*v(3)) <= p(0)*p(0) +1.d-16)
endfunction ! halfspace
function normal_plane(v1, tau) result(p)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment