-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What if scattering or absorption factors are greater than one? #2
Comments
Currently, I'm using In "case 3b", I need access to Probably it would be better to not cut off the ratios if they are <0 or >1. This would make all necessary values available to "case 3b" as well. For the calculation of the number of medium changes, one would need to check whether the
|
This increases precision and performance, but requires extensive refactoring. This aims to fix fiedl/hole-ice-study#28. On the plus side, this helps removing the un-needed old code mentioned in fiedl/hole-ice-study#2 (comment). Using native vector operations also requires to re-check the xy-projection. Fortunately, there are still tests in place for that. See: fiedl/hole-ice-study#25.
Currently, the
--scattering-factor
and the--absorption-factor
are assumed to be between zero and one. If zero, the photons interact instantly when entering the hole ice. If one, the photons interact the same way as in the surrounding ice.But actually, the factor can be greater than one, meaning that the interaction probability within the hole ice would be less than in the surrounding ice.
The text was updated successfully, but these errors were encountered: