stardis-solver

Solve coupled heat transfers
git clone git://git.meso-star.fr/stardis-solver.git
Log | Files | Refs | README | LICENSE

commit 3dd4f89f76e03db1779d5460ebb41fe1c5c583de
parent 578f5e7194e043d530a54a46d576d6b897cfa615
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Tue,  9 Apr 2019 10:00:59 +0200

Fix a possible issue on scene medium accessor

Diffstat:
Msrc/sdis_scene_Xd.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sdis_scene_Xd.h b/src/sdis_scene_Xd.h @@ -857,7 +857,7 @@ XD(scene_get_medium) /* The hits of all targeted positions on the current primitive are on * vertices. Challenge positions on another primitive. */ - if(istep > nsteps) continue; + if(istep >= nsteps) continue; fX(normalize)(N, hit.normal); cos_N_dir = fX(dot)(N, dir);