commit e8b44e9a3d396694530044a7d8e8b003771fbde7
parent a435f60a568643b2aa807169be55795897d4a063
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 24 Nov 2023 10:51:24 +0100
Remove the wiebelt function from the API
Wiebelt is the internal means of accelerating the calculation of the
Planck integral. It is therefore a helper function for calculating the
blackbody fraction. The function is no longer shown in the API.
Diffstat:
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/src/sbb.c b/src/sbb.c
@@ -19,10 +19,10 @@
#include <math.h>
/*******************************************************************************
- * Exported functions
+ * Helper functions
******************************************************************************/
-double
-sbb_wiebelt(const double v)
+static double
+wiebelt(const double v)
{
int m;
double w, v2, v4;
@@ -51,6 +51,9 @@ sbb_wiebelt(const double v)
return w;
}
+/*******************************************************************************
+ * Exported functions
+ ******************************************************************************/
double
sbb_blackbody_fraction
(const double lambda0, /* [m] */
diff --git a/src/sbb.h b/src/sbb.h
@@ -73,10 +73,6 @@ BEGIN_DECLS
* Blackbody API
******************************************************************************/
SBB_API double
-sbb_wiebelt
- (const double v);
-
-SBB_API double
sbb_blackbody_fraction
(const double lambda0, /* [m] */
const double lambda1, /* [m] */