stardis-solver

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

commit 84e51e3f04899753e74a4caf57873a419fa128c9
parent 2c1528dc5ef7c87c8b78194bdb34982c6f95762b
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Tue,  7 May 2019 15:58:42 +0200

Increase the number of attemps on sampling the next conductive step

Diffstat:
Msrc/sdis_heat_path_conductive_Xd.h | 2+-
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 @@ -126,7 +126,7 @@ XD(sample_next_step_robust) struct sdis_medium* mdm; float delta; float org[DIM]; - const size_t MAX_ATTEMPTS = 10; + const size_t MAX_ATTEMPTS = 100; size_t iattempt = 0; res_T res = RES_OK; ASSERT(scn && current_mdm && rng && pos && delta_solid > 0);