Implementation routine | Mathematical or data-layout role |
| Select pressure regions
opted in via |
| Build the velocity-dependent data below, once, before time stepping. |
| Match faces to owning elements; create the restricted
volume list, volume gather maps, the |
| Store the outward normals and set up, on the
boundary expansion of the velocity of every region, the
|
| Called by |
| Perform the indexed copy in (30.11). |
| Evaluate (30.12) on boundary-adjacent volume elements. |
| Combine the base/predictor and curl–curl terms on the restricted volume domain, before extraction (see §30.4.3). |
| Combine the flux on the restricted volume, extract it onto
every region, and contract it with the normal; on a region
with a velocity component that is not Dirichlet, extract
|
| Trace the combined flux to boundary quadrature points, as in (30.13). |
| Contract the traced flux with |
| Evaluate |
| Subtract |
| Apply (30.15), concatenate regions, and gather into domain-block order. |
| Signed and grouped scatter-add in (30.16), at the interleave width of the forcing. |
| Sum the boundary coefficients into the surface integral of the flux, as in §30.7. |