Skip to content

FillPatchTwoLevels does not fill fine-level ghost cells – FPinfo shows no overlap detected #4502

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

You must be logged in to vote

The way you are building Geometry is incorrect. The fine level's Geometry should have the same RealBox as the coarse level. Its Geometry's domain box should be refined version of the coarse level's domain box. In your code the fine level's domain box only covers the middle of the domain. You should think Geometry's domain box as if we have refinement everywhere.

You could build your fine level's geometry by calling Geometry refine (Geometry const& crse, int rr).

Replies: 1 comment 2 replies

Comment options

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

@WeiqunZhang
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