commit 76ce22965166cd6491bca94f91137ce3cff331d4
parent cfd8da5fb0d5bf7d0ab40e304891af0b17569e13
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 29 Apr 2019 11:11:44 +0200
Relax the snapping constraint during conductive random walk
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sdis_heat_path_conductive_Xd.h b/src/sdis_heat_path_conductive_Xd.h
@@ -131,7 +131,7 @@ XD(sample_next_step)
( !SXD_HIT_NONE(hit0)
&& delta != hit0->distance
&& ( eq_eps(hit0->distance, delta, delta_solid*(RAY_RANGE_MAX_SCALE-1))
- || hit0->distance < delta_solid * 0.01)) {
+ || hit0->distance < delta_solid * 0.1)) {
/* Set delta to the main hit distance if it is roughly equal to it in order
* to avoid numerical issues on moving along the main direction. Use the
* RAY_RANGE_MAX_SCALE factor to define the `epsilon' used by this