commit 8140d97bfdb8f26588b699c303b4ab564316b66b
parent 8d281fa3dbf9d86e63e454ac36e82be5cf23f71e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 20 Feb 2024 16:55:15 +0100
Fix extended output for probe on boundary
The position of the probe and the observation time were incorrect.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/stardis-output.c b/src/stardis-output.c
@@ -1649,7 +1649,8 @@ print_single_MC_result
if(stardis->time_range[0] == stardis->time_range[1])
fprintf(stream,
"Boundary temperature at [%g, %g, %g] at t=%g = %g K +/- %g\n",
- SPLIT3(stardis->probe), stardis->time_range[0],
+ SPLIT3(stardis->probe_boundary.position),
+ stardis->probe_boundary.time[0],
result.E, /* Expected value */
result.SE); /* Standard error */
else