Skip to content

Communication Steps After ConservedToPrimitive Call #473

Answered by ltlancas
ltlancas asked this question in Q&A
Discussion options

You must be logged in to vote

We decided that the best way around this was to simply do the neighbor averaging in a flag-and-apply manner and then increase the number of ghost zones by one more than is needed for reconstruction. This way, all ghost zones that matter in each MeshBlock have all the information they need to do a neighbor average in exactly the same way it is done in the corresponding active cells. The flag-and-apply strategy also avoids errors (and asymmetries) brought on by the order in which the corrections are done. See the bottom of this page.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@ltlancas
Comment options

ltlancas Jan 12, 2023
Collaborator Author

@ltlancas
Comment options

ltlancas Jan 17, 2023
Collaborator Author

Comment options

ltlancas
Jan 23, 2023
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by ltlancas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants