commit 525989b60874fbe13ca0966cc07b8219011fc763
parent 30712c202287d130d59f5899f6787f147d26702f
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 12 Apr 2024 18:06:46 +0200
Check radiative properties depending on the radiation source
Commit 9d1d3f9 announces that this feature has been verified in the
external flux calculation test. But the update was not staged, and
therefore not validated... Hence this commit.
The following is a copy of what was written about this test in the
above-mentioned commit:
"In this test, the internal radiation source must be deactivated. To
do this, we had set the reference temperature to 0. Now, we set a
valid reference temperature but an emissivity of 0 for the internal
radiation source, which effectively disables its influence."
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test_sdis_external_flux.c b/src/test_sdis_external_flux.c
@@ -410,8 +410,8 @@ create_scene_2d
scn_args.get_position = scene_get_position_2d;
scn_args.nprimitives = nsegments;
scn_args.nvertices = nvertices_2d;
- scn_args.t_range[0] = 0; /* [K] */
- scn_args.t_range[1] = 0; /* [K] */
+ scn_args.t_range[0] = T_REF; /* [K] */
+ scn_args.t_range[1] = T_REF; /* [K] */
scn_args.source = source;
scn_args.radenv = radenv;
scn_args.context = &context;