commit 7a3308ceba47528a8a785dc0de138458f77d054f parent 764ad811e8784e1a8fe21098f1008585f7f1b007 Author: Vincent Forest <vincent.forest@meso-star.com> Date: Sat, 13 Apr 2024 17:09:07 +0200 Declare function profiles for programmable radiative environment Diffstat:
| M | src/stardis-prog-properties.h.in | | | 17 | +++++++++++++++++ |
1 file changed, 17 insertions(+), 0 deletions(-)
diff --git a/src/stardis-prog-properties.h.in b/src/stardis-prog-properties.h.in @@ -620,6 +620,23 @@ stardis_spherical_source_power (const double time, void* data); +/******************************************************************************/ +/* Additional mandatory functions for a programmed radiative environment */ +/******************************************************************************/ + +/* Retrieve the temperature of radiative paths that reach infinity */ +STARDIS_API double +stardis_radiative_env_temperature + (const double dir[3], + void* data); + +/* Recover the reference temperature of radiative paths that reach + * infinity. It is used to linearize radiative transfer */ +STARDIS_API double +stardis_radiative_env_reference_temperature + (const double dir[3], + void* data); + #ifdef __cplusplus } /* extern "C" */ #endif