Skip to content

Unexpected ghost cell data overwrite when copying MultiFab with overlapping boxes #4513

Answered by WeiqunZhang
Afraid31 asked this question in Q&A
Discussion options

You must be logged in to vote

This is expected behavior. The copy function, which is equivalent to ParallelCopy, has been deprecated because it causes confusion. For your case, you can do

fi_p[1].LocalCopy(fi[1], 0, 0, fi[1].nComp(), fi[1].nGrowVect());

Replies: 1 comment 2 replies

Comment options

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

@Afraid31
Comment options

Answer selected by Afraid31
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