commit 5a5b8c8424e6f7610b9323ebc13da293941484e8
parent 72bbe8659c3a7f6305495e5ce26937a142b71c66
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 25 Apr 2024 16:19:20 +0200
Merge branch 'release_0.15.1'
Diffstat:
3 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
@@ -158,6 +158,12 @@ Edit config.mk as needed, then run:
## Release notes
+### Version 0.15.1
+
+Make the radiative environment time-dependent, so that it can vary not
+only with respect to the direction along path that reaches it, but also
+as a function of time at which it is reached.
+
### Version 0.15
#### New conduction algorithm
@@ -265,6 +271,10 @@ large compared to the cost of calculating a single probe.
filter function to manage the candidate points to be closest. This
gives the caller a fine control during the inquiry to access the
geometry and traversal of the accelerating structure.
+- CMake has been replaced by Makefile as the build system, and a
+ pkg-config file is provided to link the library as an external
+ dependency. Compiler and linker flags have also been updated to
+ increase the security and robustness of generated binaries.
### Version 0.14
diff --git a/src/sdis.h b/src/sdis.h
@@ -137,8 +137,9 @@ static const struct sdis_interface_fragment SDIS_INTERFACE_FRAGMENT_NULL =
/* Ray traced in radiative environment */
struct sdis_radiative_ray {
double dir[3]; /* Direction */
+ double time; /* Time */
};
-#define SDIS_RADIATIVE_RAY_NULL__ {{0,0,0}}
+#define SDIS_RADIATIVE_RAY_NULL__ {{0,0,0}, DBL_MAX}
static const struct sdis_radiative_ray SDIS_RADIATIVE_RAY_NULL=
SDIS_RADIATIVE_RAY_NULL__;
@@ -200,10 +201,9 @@ struct sdis_spherical_source_shader {
* environment, or, to put it another way, that the source is in a vacuum. */
sdis_get_diffuse_radiance_T diffuse_radiance; /* [W/m^2/sr] */
- struct sdis_data* data; /* Data sent to the position functor */
double radius; /* [m] */
};
-#define SDIS_SPHERICAL_SOURCE_SHADER_NULL__ {NULL, NULL, NULL, 0, 0}
+#define SDIS_SPHERICAL_SOURCE_SHADER_NULL__ {NULL, NULL, NULL, 0}
static const struct sdis_spherical_source_shader
SDIS_SPHERICAL_SOURCE_SHADER_NULL = SDIS_SPHERICAL_SOURCE_SHADER_NULL__;
diff --git a/src/sdis_version.h.in b/src/sdis_version.h.in
@@ -1,4 +1,4 @@
-/* Copyright (C) 2016-2023 |Méso|Star> (contact@meso-star.com)
+/* Copyright (C) 2016-2024 |Méso|Star> (contact@meso-star.com)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by