zoomy_core.symsolver.discretization.reconstruction#
Face reconstruction of the solver templates: order 1 takes cell values of the
reconstruction variables W(Q) to the faces, order 2 a limited LSQ gradient, and
the inverse map recovers Q. Nothing is clipped: face positivity is the flux
kernel’s, cell positivity MOOD’s.
Module Contents#
Functions#
Face traces |
|
|
|
|
|
Limiter factor per row and cell (the NSM’s limiter, per-row overrides, then ties), 1 where no row is limited. |
Data#
API#
- zoomy_core.symsolver.discretization.reconstruction.LIMITERS#
None
- zoomy_core.symsolver.discretization.reconstruction.reconstruct(nsm, Q, Qaux, p, time, order, demote, mesh)#
Face traces
(QL, QR)of order 1 (cell values) or 2 (limited LSQ gradient);QRon a boundary face is a placeholder for the BC value.Args
demote:Falsenone,Trueall cells, or a cell mask; demoted cells are constant inW(MOOD).
References
van Leer 1979, https://doi.org/10.1016/0021-9991(79)90145-1
Mavriplis 2003, https://doi.org/10.2514/6.2003-3986
- zoomy_core.symsolver.discretization.reconstruction.maps(nsm)#
(W(Q), Q(W))kernels, or(None, None)whenQitself is reconstructed.
- zoomy_core.symsolver.discretization.reconstruction.bed_rows(nsm)#
(bed, depth)rows when the reconstruction is the pair (h, eta = b + h) withbed=BedReconstruction.derived, else None.References
Audusse et al. 2004, https://doi.org/10.1137/S1064827503431090
- zoomy_core.symsolver.discretization.reconstruction.limited(nsm, W, Wg, G, mesh)#
Limiter factor per row and cell (the NSM’s limiter, per-row overrides, then ties), 1 where no row is limited.