Skip to content
Discussion options

You must be logged in to vote

I guess it is obvious, but the ParallelFor is iterating over all the cells of the domain but only does something at the edge. Instead, up to six ParallelFors could be used to only iterate over the cells outside the domain. You can do const Box inside = geom.Domain(); directly by the way.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ToguyC
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