Skip to content

flag.isConnected for Embedded Boundaries #2797

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

You must be logged in to vote

The arguments to isConnected(ii,jj,kk) are either -1, 0, or 1. The return value of flag(i,j,k).isConnected(1,1,1) can tell us if cell (i,j,k) is connected to cell (i+1,j+1,k+1). If we can walk through cell faces in no more than one step per direction from one cell to another, the two are considered connected.

Replies: 1 comment

Comment options

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