ForestClaw / forestclaw

Quadtree/octree adaptive PDE solver based based on p4est.
http://www.forestclaw.org
BSD 2-Clause "Simplified" License
58 stars 21 forks source link

Progress on 3d #272

Closed hannesbrandt closed 1 year ago

hannesbrandt commented 1 year ago

We add fclaw3d_patch_transform_edge(2). The function is able to operate across block-boundaries. We assume that the orientation of the matching edges is identical, like e.g. in a brick. The function does not yield correct results for patches in face-neighboring blocks, in which case fclaw3d_patch_transform_face(2) can be used instead. To ensure correct usage of the function, we add assertions that make sure the blocks are not face-neighbors. We make similar modifications in fclaw3d_patch_transform_corner(2).