NaN values for some randSeed values using DirectedSurfaceSum command
The tcl script I use (attached) uses the DirectedSurfaceSum command. With each run, it changes the pair of absorption and scattering coefficients. Sometimes I get reasonable outputs for a pair of optical properties and other times I get NaN values depending on the randSeed value I use in that run.
For example, when I run the tcl script for randSeed 1 and 4, randSeed 4 would output an NaN value. I was just wondering why I would be getting NaN values?