stardis-solver

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

commit 2d73ba762e1f348371499ef75f78f454d00e5d58
parent ca8fdc059e2cc3609834ea413a655d19b061a4f7
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Sun, 21 Apr 2024 21:36:07 +0200

Rm a parameter from the sdis_spherical_source_shader structure

The data parameter is not used and is therefore removed. It is now
submitted as a separate input parameter when the source is created. This
makes the source API consistent with other resources (interfaces, media
and radiative environment).

Diffstat:
Msrc/sdis.h | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/sdis.h b/src/sdis.h @@ -200,10 +200,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__;