stardis-solver

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

commit dd71a4b4d3d73101f4e8a245bfbd4178d88ca0bb
parent b4b2350325ecfcaff39962cef8ebfbeef66e4ecc
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 28 Apr 2023 13:29:20 +0200

Turning a warning message into an error message

If the attempt to re-inject into the solid from a boundary failed, we
would print a warning while the result returned was an unrecoverable
error, i.e. the trajectory was rejected. This message is now printed as
an error.

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

diff --git a/src/sdis_heat_path_boundary_Xd_c.h b/src/sdis_heat_path_boundary_Xd_c.h @@ -643,7 +643,7 @@ XD(sample_reinjection_step_solid_fluid) /* Could not find a valid reinjecton step */ if(iattempt >= MAX_ATTEMPTS) { - log_warn(scn->dev, + log_err(scn->dev, "%s: could not find a valid reinjection step at `%g %g %g'.\n", FUNC_NAME, SPLIT3(args->rwalk->vtx.P)); res = RES_BAD_OP_IRRECOVERABLE;