star-line

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

commit dd9d93b6ae889c5ba752d7ce86b8a02bbb7d856f
parent a9389fa526a6e80edb6e4953d00deeb0e6c52ce1
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed,  4 May 2022 11:58:04 +0200

Fix regular line meshing

The spectral range to regularly mesh was wrongly computed.

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 @@ -188,7 +188,7 @@ regular_mesh_fragmented while(fragment_nu_min < line_nu_max) { const double spectral_length = - MMIN(fragment_length, mol_params->cutoff - fragment_nu_min); + MMIN(fragment_length, line_nu_max - fragment_nu_min); res = regular_mesh (fragment_nu_min, spectral_length, fragment_nvtx, wavenumbers);