Skip to content

CoefficientSplitter: fix again ReferenceGrad(Zero)#460

Merged
mscroggs merged 1 commit intoFEniCS:mainfrom
firedrakeproject:pbrubeck/fix/split-coeff-zero
Jan 9, 2026
Merged

CoefficientSplitter: fix again ReferenceGrad(Zero)#460
mscroggs merged 1 commit intoFEniCS:mainfrom
firedrakeproject:pbrubeck/fix/split-coeff-zero

Conversation

@pbrubeck
Copy link
Contributor

@pbrubeck pbrubeck commented Dec 22, 2025

The first fix didn't take into account elements where the reference value shape differs from the physical value shape.

@pbrubeck pbrubeck force-pushed the pbrubeck/fix/split-coeff-zero branch from fcd9891 to b5e77a4 Compare December 22, 2025 22:18
@mscroggs mscroggs added this pull request to the merge queue Jan 9, 2026
Merged via the queue into FEniCS:main with commit 4d33962 Jan 9, 2026
12 checks passed
@mscroggs mscroggs deleted the pbrubeck/fix/split-coeff-zero branch January 9, 2026 14:06
pbrubeck added a commit to firedrakeproject/ufl that referenced this pull request Jan 9, 2026
jhale pushed a commit that referenced this pull request Jan 13, 2026
* Fix split for symmetric tensors (#448)

* BUG: prevent ReferenceGradient(Zero) on CoefficientSplitter (#455)

* BUG: prevent ReferenceGradient(Zero) on CoefficientSplitter

* test

* fix for mixed dimension cells

* cleanup

* Pullback: remove FunctionSpace (#452)

* Pullback: remove FunctionSpace

* cast to int

* import Zero

* CoefficientSplitter: fix again ReferenceGrad(Zero) (#460)
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