stardis

Perform coupled heat transfer calculations
git clone git://git.meso-star.fr/stardis.git
Log | Files | Refs | README | LICENSE

commit d379ffe902fb1b38f2e6de1ebeafc9a37654051e
parent 040a53193c3e6ada35ab60b45dba8875d6001a94
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri,  6 Sep 2024 15:08:44 +0200

Fix the -X option on probe boundary calculations

The file to which the RNG state was written was not the correct one, it
was the file from which the state was read, i.e. the one defined by the
-x option.

Diffstat:
Msrc/stardis-compute-probe-boundary.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/stardis-compute-probe-boundary.c b/src/stardis-compute-probe-boundary.c @@ -636,7 +636,7 @@ solve is_master_process = !stardis->mpi_initialized || stardis->mpi_rank == 0; rng_in = &stardis->rndgen_state_in_filename; - rng_out = &stardis->rndgen_state_in_filename; + rng_out = &stardis->rndgen_state_out_filename; /* Read RNG state from file */ if(!str_is_empty(rng_in)) {