SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
meshcrossfield.cpp File Reference
#include "mesh/meshcrossfield.h"
#include <algorithm>
#include <cmath>
Include dependency graph for meshcrossfield.cpp:

Namespaces

namespace  mesh
 

Detailed Description

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later

Boundary-aligned 2D cross field on a regular grid (QUAD_MESHING_REDESIGN_PLAN §4.4b). The 4-RoSy representation u = (cos 4θ, sin 4θ) is pinned along the aligned polylines and harmonically extended by SOR on the 5-point Laplacian with mirrored (Neumann) grid edges. Hand-written; no third-party solver.