You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ground-up overhaul needed to conform all fundemental matrices to a single, coordinate invariant convention #233
PR #225 starts this by converting the coordinate dependent energy eigenvalues/modes of DCON to coordinate-independent eigenvectors with eigenvalues of energy per power-normalized-flux.
All fundamental matrices should be consistently formed in the same space. This includes, for example, the Permeability and reluctance matrices of PerturbedEquilibria. Of course, the resonant coupling matrices should be as well. Some thought should be put into the left hand side normalizations of resonant coupling matrices (flux is explicitly ok by [Park 2008], but check the others - shielding current, delta', penetrated field/flux, etc. - and add annotations confirming they are all also ok).
When implemented, the torque response matrix should be similarly normalized.
Lets make the code operate, as much as possible, directly in this consistently defined space.
The exception, for now, is the ForceFreeStates Euler-Lagrange integration done in displacement-space. After everything else in in a power-norm-flux space, we can close this issue and open a new you if we want/plan to attempt converting that to operate directly in the power-norm-flux space. The expectation is that the (m-nq) factors converting from displacement to flux will improve large solution numerics near rationals but possibly result in lossy suppression of the small solutions.
This should go on the back-burner lists for @ebursch and @matt-pharr - good weekend task for vibe coding
Status rather than a PR: #225 moved the eigenvalues to the power-norm flux space, #237's scan verified the five resonant-coupling matrices are coordinate-independent, and #472 added the torque response matrices. What remains is the audit of the PerturbedEquilibrium matrices (permeability, reluctance, torque response) against one normalisation and the annotations confirming each, which is a design pass across the module rather than a bug fix. The natural moment is right after #574, which moves all of those matrices onto pe.response, so there is one place to audit.
@matt-pharr how about moving this to v2.1 or later?
I still like the dream, but it seems like rushing it right now could lead to bugs and I don't think I'd hold the release just for this.
Activity
Merge pull request #277 from OpenFUSIONToolkit/feature/conform-powern…
logan-nc commentedon Oct 27, 2026
Status rather than a PR: #225 moved the eigenvalues to the power-norm flux space, #237's scan verified the five resonant-coupling matrices are coordinate-independent, and #472 added the torque response matrices. What remains is the audit of the PerturbedEquilibrium matrices (permeability, reluctance, torque response) against one normalisation and the annotations confirming each, which is a design pass across the module rather than a bug fix. The natural moment is right after #574, which moves all of those matrices onto
pe.response, so there is one place to audit.logan-nc commentedon Oct 30, 2026
@matt-pharr how about moving this to v2.1 or later?
I still like the dream, but it seems like rushing it right now could lead to bugs and I don't think I'd hold the release just for this.