Home
last modified time | relevance | path

Searched hist:"713571 d7707cbce79b89ea5850a26c8c366d8a8e" (Results 1 – 1 of 1) sorted by relevance

/honee/src/
H A Dmonitor_cfl.c713571d7707cbce79b89ea5850a26c8c366d8a8e Fri Jul 04 20:00:40 UTC 2025 James Wright <james@jameswright.xyz> fix(monitor_cfl): Give correctly sized QFCtx for advection case

When the problem type is the advection-diffusion equations,
`MonitorCFL()` would interpret the QFunction context as
`NewtonianIdealGasContext`. This is functionally ok only if it is zero.
Otherwise this could lead to OOB memory access. The only
reason it hadn't up till now is that the members of
`NewtonianIdealGasContext` that were used by `StateFromQ()` were within
the memory bounds of `AdvectionContext`.