Skip to content

Test interpolation of products of coefficient evaluations - #5360

Merged
pbrubeck merged 3 commits into
mainfrom
pbrubeck/atomic-contraction
Aug 19, 2026
Merged

Test interpolation of products of coefficient evaluations#5360
pbrubeck merged 3 commits into
mainfrom
pbrubeck/atomic-contraction

Conversation

@pbrubeck

@pbrubeck pbrubeck commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Description

Companion to firedrakeproject/fiat#280, which is stacked on firedrakeproject/fiat#269.

Interpolating a product of coefficient evaluations into a tensor-product space contracts more indices than one sum factorisation can search, and raised NotImplementedError: Too many indices for sum factorisation!. This adds the regression test: scalar powers, which firedrakeproject/fiat#269 fixes, along with the vector and tensor expressions whose value indices contract the evaluations together, which firedrakeproject/fiat#280 fixes.

interpolate on a hexahedron before after
f*f*f, f*f*f*f, CG1 → CG1 error passes
dot(u, u)*u, vector CG1 error passes
dot(A, A), tensor CG1 error passes
inner(A, A), tensor CG1 → CG1 error passes

The second commit points CI at the FIAT branch and must be dropped before merge.

AI declaration: written with Claude Code (Claude Opus 5).

pbrubeck and others added 2 commits August 18, 2026 13:16
A product of coefficient evaluations on a hexahedron contracts more
indices than one sum factorisation can search, and raised
NotImplementedError.  Cover scalar powers, along with the vector and
tensor expressions whose value indices contract the evaluations
together.

Companion to firedrakeproject/fiat#280.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Reinstall FIAT from pbrubeck/atomic-contraction, which is
pbrubeck/sum-factorise plus keeping factorised contractions whole.
Interpolating a product of coefficient evaluations exceeds the sum
factorisation index limit without it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@pbrubeck
pbrubeck requested a review from connorjward August 18, 2026 12:21
@pbrubeck
pbrubeck marked this pull request as ready for review August 18, 2026 12:21
connorjward
connorjward previously approved these changes Aug 18, 2026
Comment thread .github/actions/install/action.yml Outdated
@pbrubeck
pbrubeck merged commit 97da78d into main Aug 19, 2026
6 of 7 checks passed
@pbrubeck
pbrubeck deleted the pbrubeck/atomic-contraction branch August 19, 2026 15:42
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