commit ca17684b697619e8c6ae4da9264c99408c549bf9
parent 76e203c3d369f44f9fb15b35d209fb4b912cf8ed
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 17 Sep 2019 15:42:46 +0200
Upd warning message on connector values
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/sschiff_estimator.c b/src/sschiff_estimator.c
@@ -803,7 +803,7 @@ compute_small_scattering_angles_properties
size_t ilimit_angle;
size_t iangle;
ASSERT(dev && estimator && iwlen < sa_size(estimator->wavelengths) && ctx);
- (void)nangles;
+ (void)ctx, (void)dev, (void)nangles;
/* Fetch the limit angle and precompute some values */
ilimit_angle = estimator->limit_angles[iwlen]-1;
@@ -903,7 +903,10 @@ compute_large_scattering_angles_properties
if(n < 2 || n > 4) {
log_warning(estimator->dev,
"The wide scattering angles phase function model parameter `n' is not in\n"
-"[2, 4]. One might increase the number of realisations.\n"
+"[2, 4]. One might increase the number of realisations and/or adjust the\n"
+"characteristic length of the particles (that sets the limit between small\n"
+"and large scattering angles) and/or increase the number of scattering\n"
+"angles computed.\n"
" wavelength = %g micron\n"
" n = %g\n"
" scattering cross section = %g +/- %g\n"