Open masonamccallum opened 11 months ago
If I can recursively access the boundary information of a child node's parents I can reach back to the boundary specification at the coarse grid level which is specified in mesh import data (here).
It looks like I can write a callback function and supply it to p4est_iterate that performs this recursive walk up the lineage to find the root boundary data but I am unsure at the moment.
If we have a boundary condition information for the coarse grid (aka the trees)
we could use quadranttocoordinate
and quadranttolevel
to figure out which
faces/edges (if any) a quadrant was on. We could then use that plus
quadranttotreeid
to look up the boundary condition information.
Current implementation calls materializefacemaps in the generate function which marks a boundary faces with a one. It would be nice to have multiple boundary types supported.