Happens in @kasra-hosseini's huge mesh after 24h runtime, so it is a bit difficult to debug. More of a memo to self to look into it.
ERROR: weights is smaller zero! Check whether point is outside of element
weight: -0.49999999953433383
dx : 40809.243542678654
dy : -32979.621791672747
dz : -69273.540243368130
Was caused by integer overflow in halton.f90, which caused negative random numbers, which caused points outside of tetrahedron to be generated, which caused negative weights
Happens in @kasra-hosseini's huge mesh after 24h runtime, so it is a bit difficult to debug. More of a memo to self to look into it.