IF((tustep <= tperp) & ((~exact_bca) | (tustep > skindepth)))
[
"We are further way from a boundary than a skindepth, so
"perform a normal condensed-history step
The comment ignores the fact that only if the step is greater than skindepth does the CH step get taken. Otherwise the CH step is replaced by single scattering. As far as I can tell, the coding is correct, it's just the comment that I find misleading. It should be something like
"We are further away from a boundary than a skindepth or the requested CH step is
"greater than skindepth so perform a normal condensed-history step
Lines 1247-1250 in egsnrc.mortran state
The comment ignores the fact that only if the step is greater than skindepth does the CH step get taken. Otherwise the CH step is replaced by single scattering. As far as I can tell, the coding is correct, it's just the comment that I find misleading. It should be something like