Repository navigation
Conversation
ASMLinesmoothPC raised NotImplementedError on a mixed space. A patch now holds the column of degrees of freedom of every subspace above one entity of the base mesh, so that the smoother can relax a coupled system, for example the Exner pressure of every stage of a Runge-Kutta method, one column at a time. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pbrubeck
added a commit
to colinjcotter/IAA_LFRic_Solver_notes
that referenced
this pull request
Dec 5, 2026
Eliminate density and potential temperature, then velocity, with lumped diagonals as in Maynard et al. (2020), and put the resulting Helmholtz operator H in the Exner pressure block of the preconditioning operator. Fieldsplit preconditions the Schur complement by H, and one multigrid V-cycle with vertical line smoothing rediscretizes H on horizontally coarsened meshes. This is the default; -preconditioner lu keeps the LU factorization. -levels sets the number of multigrid levels. Needs firedrakeproject/firedrake#5775 and #5776, and FEniCS/ufl#578 for composing forms with @. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ASMLinesmoothPCraisedNotImplementedErroron a mixed space. A patch now joins the vertical column of DoFs of every subspace above one base-mesh entity, so a coupled system can be relaxed one column at a time.Use case: the Exner pressure Schur complement of a multi-stage Runge–Kutta method lives on a mixed space with one DG0 copy per stage. Its multigrid smoother needs column patches that hold every stage. This PR comes first in a stack; the DiagonalInverseMatrix PR builds on it.
Evidence
test_linesmoother_mixed_space_solves_column_operator[petscasm|tinyasm]. OnDQ0 * DQ0over an extruded quad mesh, the operator couples only the cells of a column (vertical jumps ondS_h) and the two subspaces in each cell. So exact column solves must converge in one Richardson iteration.NotImplementedError: Not implemeneted for mixed spaces(fails)test_linesmoother.pyandtest_linesmoother_vfs.pypass in full.Merge Danger
Door: two-way
Blast Radius: small
Only mixed spaces take a new path; they raised before. A single space gives the same patches as before, and an empty column is now skipped explicitly instead of through
dof <= 0.AI tool used: Claude Code (Claude Opus 5.5).
🤖 Generated with Claude Code