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

Add option for repeating boundary conditions #38

Open
hvbish opened this issue Jan 30, 2025 · 0 comments
Open

Add option for repeating boundary conditions #38

hvbish opened this issue Jan 30, 2025 · 0 comments
Assignees

Comments

@hvbish
Copy link
Contributor

hvbish commented Jan 30, 2025

Requesting an option to enable repeating boundary conditions in the model grid for selected axes.

For example: a photon that leaves the grid through any face of the grid cube perpendicular to the xy-plane should re-enter through the opposite face of the cube, with the same weight and direction. If the photon leaves the grid though a cube face parallel to the xy-plane, the model grid ends as usual and the photon is no longer tracked.

An additional useful feature would be the option to randomize the direction from which the photon re-enters the cube, while preserving the position along the z-axis and the angle of motion relative to the xy-plane.

@karllark karllark self-assigned this Jan 31, 2025
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

2 participants