Skip to content

Fix cell_avg + MixedFunctionSpace#5109

Merged
pbrubeck merged 2 commits into
releasefrom
pbrubeck/fix/cell-avg
May 14, 2026
Merged

Fix cell_avg + MixedFunctionSpace#5109
pbrubeck merged 2 commits into
releasefrom
pbrubeck/fix/cell-avg

Conversation

@pbrubeck
Copy link
Copy Markdown
Contributor

@pbrubeck pbrubeck commented May 13, 2026

Description

Fixes a bug with cell_avg + MixedFunctionSpace by not renumbering coefficients in the inner calls to compute_form_data. Renumbering should only be done by the outermost call.

Adds tests for cell_avg

Comment thread tsfc/ufl_utils.py Outdated
@pbrubeck pbrubeck force-pushed the pbrubeck/fix/cell-avg branch from 18aeba0 to 2201819 Compare May 13, 2026 20:45
@pbrubeck pbrubeck requested a review from connorjward May 14, 2026 08:05
@pbrubeck pbrubeck enabled auto-merge (squash) May 14, 2026 08:16
@pbrubeck pbrubeck merged commit 1e7a61b into release May 14, 2026
9 checks passed
@pbrubeck pbrubeck deleted the pbrubeck/fix/cell-avg branch May 14, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants