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

Feature diagnostics integrate #245

Closed hannesbrandt closed 1 year ago

hannesbrandt commented 1 year ago

Change swirl_rays line integration to integrate over the actual cell-wise constant solution. Apply line tracing, to obtain all cells in the patch, that contribute to the integral. Add untrustworthy-varibale to flcaw2d_rays_t routines to mark rays with unreliable integration results. Adapt integration to allow axis-parallel (and almost axis-parallel) rays. If they are too close to a parallel patch face, they will be marked as untrustworthy.