stardis-solver

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

commit 8da139276a64b856e2aca031232414096a037cf1
parent 000b16838c953ebe73f4dcb12d0fb7a37fc429fa
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 29 Mar 2024 16:22:12 +0100

Updating file names in the unsteady 2D test

Add files written by the test to the Makefile clean_test target so that
they are deleted when make clean is invoked.

Diffstat:
MMakefile | 1+
Msrc/test_sdis_unsteady_analytic_profile_2d.c | 4++--
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -275,6 +275,7 @@ test_all: test clean_test: @$(SHELL) make.sh clean_test $(TEST_SRC) $(TEST_SRC_MPI) $(TEST_SRC_LONG) + rm -f super_shape_2d.obj paths_wos_2d.vtk paths_delta_sphere_2d.vtk rm -f rng_state ################################################################################ diff --git a/src/test_sdis_unsteady_analytic_profile_2d.c b/src/test_sdis_unsteady_analytic_profile_2d.c @@ -389,12 +389,12 @@ main(int argc, char** argv) check_probe(scn, SDIS_DIFFUSION_WOS, pos, time, 1/*green*/); /* Write 10 heat paths sampled by the delta sphere algorithm */ - CHK(fp = fopen("delta_sphere_2d.vtk", "w")); + CHK(fp = fopen("paths_delta_sphere_2d.vtk", "w")); dump_heat_path(fp, scn, SDIS_DIFFUSION_DELTA_SPHERE, pos, time, 10); CHK(fclose(fp) == 0); /* Write 10 heat paths sampled by the WoS algorithm */ - CHK(fp = fopen("wos_2d.vtk", "w")); + CHK(fp = fopen("paths_wos_2d.vtk", "w")); dump_heat_path(fp, scn, SDIS_DIFFUSION_WOS, pos, time, 10); CHK(fclose(fp) == 0);