ForestClaw / forestclaw

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

Progress on 3d #266

Closed hannesbrandt closed 12 months ago

hannesbrandt commented 12 months ago

We continue translating forestclaw2d to 3D. Similar to already existing face- and corner-related functions we add the 3D-only, edge-related functions fclaw3d_domain_num_edges, fclaw3d_patch_edge_neighbors and fclaw2d_patch_edge_swap. Additionally, we changed the assertions in fclaw2d_patch_transform_face(2). Now, we only demand matching cell counts (e.g. mx == my), when it is necessary (for face connections between rotated blocks).