commit 0c27a2e42ac1c6c58e93f382ff7c819387a5ad5d
parent af980c9cfed26cb301dcde99da5eb6ac9a9a2bce
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Fri, 27 Mar 2020 14:05:16 +0100
Slight changes in logs
Diffstat:
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/sdis_heat_path_conductive_Xd.h b/src/sdis_heat_path_conductive_Xd.h
@@ -370,7 +370,7 @@ XD(conductive_path)
/* The initial condition should have been reached */
log_err(scn->dev,
"%s: undefined initial condition. "
- "The time is %f but the temperature remains unknown.\n",
+ "The time is %g but the temperature remains unknown.\n",
FUNC_NAME, t0);
res = RES_BAD_OP;
goto error;
diff --git a/src/sdis_heat_path_convective_Xd.h b/src/sdis_heat_path_convective_Xd.h
@@ -188,11 +188,11 @@ XD(convective_path)
goto exit;
}
- /* At t=0, the initial condition should have been reached. */
+ /* At t=t0, the initial condition should have been reached. */
log_err(scn->dev,
"%s: undefined initial condition. "
- "Time is 0 but the temperature remains unknown.\n",
- FUNC_NAME);
+ "Time is %g but the temperature remains unknown.\n",
+ FUNC_NAME, rwalk->vtx.time);
res = RES_BAD_OP;
goto error;
}
diff --git a/src/sdis_realisation_Xd.h b/src/sdis_realisation_Xd.h
@@ -174,7 +174,7 @@ XD(probe_realisation)
/* The initial condition should have been reached */
log_err(scn->dev,
"%s: undefined initial condition. "
- "The time is %f but the temperature remains unknown.\n",
+ "The time is %g but the temperature remains unknown.\n",
FUNC_NAME, t0);
res = RES_BAD_OP;
goto error;