star-line

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

commit 7b34ed7cc0268d32267ef232c9f3cb8535ef07f1
parent 1bb634ce9ac26608fd1a6a4fcd4d448efd5130db
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 25 May 2022 19:06:01 +0200

Fix wavenumber mirroring wrt line center

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

diff --git a/src/sln_line.c b/src/sln_line.c @@ -421,7 +421,7 @@ save_line_mesh vals = darray_double_cdata_get(values); i = nvertices; - #define MIRROR(Nu) (2*line->wavenumber * (Nu)) + #define MIRROR(Nu) (2*line->wavenumber - (Nu)) /* Emit the 1st vertex for the lower bound of the spectral range if the line * is clipped by it */