-
Notifications
You must be signed in to change notification settings - Fork 98
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
Convert compute_lamborder to C++ #2581
Convert compute_lamborder to C++ #2581
Conversation
radiation tests pass: http://groot.astro.sunysb.edu/Castro/test-suite/gfortran/2023-09-24-002/index.html |
The latest version of this PR fixes the code to make sense in all dimensions. It does this by using temporary filter arrays for the x and y dimensions in 2D and 3D respectively. It also significantly condenses the code by writing a generalized filter function (and accompanying function to load the "stencil" for both lambda and Er). This should reduce the likelihood of mistakes in the code. The boundary step at the end is also simplified into a simple loop over the entire box that copies zones from the edges and corners into the corresponding locations outside the valid region. |
PR summary
PR checklist
CHANGES
file has been updated, if appropriate