star-line

Structure for accelerating line importance sampling
git clone git://git.meso-star.fr/star-line.git
Log | Files | Refs | README | LICENSE

commit e4ea13764103f61767cfe520601ad24bf9a5e0b8
parent e6178416a6dc623d78d0e4371034aff39fd736cd
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon, 20 Apr 2026 14:48:15 +0200

Increase the maximum number of lines per leaf

Set it to 16,384 instead of 1,024 to allow the caller to further reduce
the size of a tree. This limit seems high, as spectrum evaluation for
such a large number of lines becomes computationally intensive.

Diffstat:
Msrc/sln.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sln.h b/src/sln.h @@ -45,7 +45,7 @@ #define SLN_TREE_DEPTH_MAX 64 /* Maximum depth of a tree */ #define SLN_TREE_ARITY_MAX 256 /* Maximum arity of a tree */ -#define SLN_LEAF_NLINES_MAX 1024 /* Maximum number of lines per leaf */ +#define SLN_LEAF_NLINES_MAX 16384 /* Maximum number of lines per leaf */ /* Forward declaration of external data structures */ struct logger;