stardis-solver

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

commit 99b224bd0ad1e31ed2fa173cf96c40f530517d40
parent 7fbc3d5b233ac4a9448ca1bbeee1b607bc063406
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri,  8 Dec 2023 14:51:22 +0100

Minor fix to sdis_solve_probe function

The MPI message type used to collect the time accumulator per completion
was incorrect. It was the same as that used for temperature. This
actually has no impact on the result since the main process first
collected the temperature accumulators and then the time accumulators,
which even if they are identified by the same type of message, are by
construction collected next.

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

diff --git a/src/sdis_solve_probe_Xd.h b/src/sdis_solve_probe_Xd.h @@ -401,7 +401,7 @@ XD(solve_probe) if(res != RES_OK) goto error; \ } (void)0 GATHER_ACCUMS(MPI_SDIS_MSG_ACCUM_TEMP, acc_temp); - GATHER_ACCUMS(MPI_SDIS_MSG_ACCUM_TEMP, acc_time); + GATHER_ACCUMS(MPI_SDIS_MSG_ACCUM_TIME, acc_time); #undef GATHER_ACCUMS time_sub(&time0, time_current(&time1), &time0);