VirtualPhotonics / VTS

Virtual Tissue Simulator
https://virtualphotonics.org
Other
34 stars 9 forks source link

Bug found in dMCdROfRhodMusDetector #145

Closed hayakawa16 closed 7 months ago

hayakawa16 commented 7 months ago

In AbsorbDiscrete method, the derivative code is incorrect.

Correct code, create/update unit tests, and check other derivative detector, dMCdROfRhodMuaDetector for any errors.

hayakawa16 commented 7 months ago

I have written up the perturbation Monte Carlo equations and their derivatives for reference. notes.pdf I updated for case when (j=1) because in code.