Skip to content

Conditions for a well-formed Octtree-ish mesh #3578

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

You must be logged in to vote

Sorry for the typo. ceil(nghost,ref_ratio) should read ceil(nghost/ref_ratio). Yes, >= should be sufficient. So the correct condition should be blocking_factor >= (ceil(nghost/ref_ratio)+ninterp)*ref_ratio. If nghost is even and ref_ratio is 2, that becomes blocking_factor >= nghost + ninterp*2. It can also be written as blocking_factor/2 > nghost/2 + ninterp. The way to think about it can like this. If we look at cells on each level, it's either all cells in a block are refined or none, where the block size is blocking_factor. So the smallest gap between level $\ell$/($\ell + 1$) boundary and $\ell$/($\ell -1$) boundary has blocking_factor/2 level $\ell$ cells. If level $\ell +1$ has nghost

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
6 replies
@kweide
Comment options

@kweide
Comment options

@WeiqunZhang
Comment options

@kweide
Comment options

@WeiqunZhang
Comment options

Comment options

You must be logged in to vote
4 replies
@kweide
Comment options

@WeiqunZhang
Comment options

@kweide
Comment options

@WeiqunZhang
Comment options

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