schiff

Estimate the radiative properties of soft particless
git clone git://git.meso-star.com/schiff.git
Log | Files | Refs | README | LICENSE

commit 86395d904619f0eca3ba9c6bd73e93f8fcc03aaa
parent e6941a1da4a8516d3a822e24f9eec12f9bfcb462
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 11 Feb 2016 16:51:54 +0100

Fix the test on optical properties

Optical properties can be equal to zero.

Diffstat:
Msrc/schiff_optical_properties.h | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/schiff_optical_properties.h b/src/schiff_optical_properties.h @@ -46,10 +46,10 @@ schiff_optical_properties_check (const struct schiff_optical_properties* props) { ASSERT(props); - return props->W > 0.0 - && props->Nr > 0.0 - && props->Kr > 0.0 - && props->Ne > 0.0; + return props->W >= 0.0 + && props->Nr >= 0.0 + && props->Kr >= 0.0 + && props->Ne >= 0.0; } extern LOCAL_SYM res_T