Skip to content
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

Re-integrate saving the photon path in scattering calculations for use in continuous absorption #2

Open
karllark opened this issue Sep 3, 2015 · 0 comments

Comments

@karllark
Copy link
Owner

karllark commented Sep 3, 2015

The calculation of the photon path is repeated in the forced first scattering code. Once to determine the maximum optical depth along the line-of-sight and a 2nd time to move the photon to the picked scattering site. Code was written by Ka-Hei to do this, but it only worked for a single grid (no hierarchical grids). Need to re-integrate or develop code to do this. A similar issue exists for the next_scatter/scatter_photon functions. Also may want to cache this calculation for the stellar classification in the case of discrete sources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant