stardis

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

commit f580a374276c0bed3eb0bb67787cb5290f5d08fd
parent 182eec51529ee1edb1aa08a93f326fb530c62c2a
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri,  1 Mar 2024 11:43:10 +0100

Add function declarations to programmable properties

Add functions used to program external spherical sources

Diffstat:
Msrc/stardis-prog-properties.h.in | 20++++++++++++++++++++
1 file changed, 20 insertions(+), 0 deletions(-)

diff --git a/src/stardis-prog-properties.h.in b/src/stardis-prog-properties.h.in @@ -592,6 +592,26 @@ stardis_t_range (void* data, double range[2]); +/******************************************************************************/ +/* Additional mandatory functions for a programmed spherical source */ +/* These functions are used to calculate the external flux at the boundaries. */ +/******************************************************************************/ + +/* Retrieve the position of the spherical source center. + * This function is used to calculate the external flux at the boundaries. + * Returns its modified position argument */ +STARDIS_API double* +stardis_spherical_source_position + (const double time, /* [s] */ + double position[3], + void* data); + +/* Retrieve the power of the spherical source. */ +STARDIS_API double /* [W] */ +stardis_spherical_source_power + (const double time, + void* data); + #ifdef __cplusplus } /* extern "C" */ #endif