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

Optimise implicit radiation #455

Merged
merged 11 commits into from
Jul 18, 2023
Merged

Optimise implicit radiation #455

merged 11 commits into from
Jul 18, 2023

Conversation

themikelau
Copy link
Collaborator

  • Build compacted neighbour list including "j-neighbours" (getj=.true.), so that atomic statements can be removed from calc_diffusion_term.
  • Increase size allocated to neighbour arrays by a factor of 10 (icompact=1.2*10.*nneigh_average*npart) .
  • Directly cache the mean of the kernel derivative 0.5*(dWidrlightrhorhom+dWjdrlightrhorhom) for calc_diffusion_term.
  • Cache rhoj into varij2 instead of varij so that compute_flux only needs to access varij2

@danieljprice danieljprice merged commit 69b3a71 into master Jul 18, 2023
@danieljprice danieljprice deleted the radiation branch July 18, 2023 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants