• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FEniCS / ffcx / 45890648679
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-948-6496e5b70c99b56a2a3aacbae97220332245f25d
DEFAULT BRANCH: main
Ran 26 Nov 2026 08:28PM UTC
Jobs 1
Files 61
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Nov 2026 08:22PM UTC coverage: 89.507% (+0.4%) from 89.084%
45890648679

push

github

web-flow
The tale of the `ProxyCoefficient` (#938)

* Support interpolating expressions through proxy coefficients

Compile `ufl.Interpolate(f, V)` of an expression `f` that holds no
argument, in forms and expressions. The interpolation is replaced by a
proxy coefficient in `V` whose degrees of freedom are built in the
kernel: `f` is compiled into an expression kernel evaluated at the
interpolation points of the target element, and the target's
interpolation matrix is applied to the values it writes.

The expression kernels are internal to the generated code: a static C
function called directly by the integral or expression kernel, and not
exported in the header. Interpolations nested in an interpolated
expression get kernels of their own, called from the outer kernel.

The coefficients and constants that the interpolated expression reads are
coefficients and constants of the form. Proxy coefficients are not, and
do not appear in its metadata.

Not supported yet, each raising NotImplementedError: a proxy coefficient
restricted to the '-' side of an interior facet, target spaces that are
mixed, symmetric or of quadrature type, and the numba backend.

Co-authored-by: Jørgen S. Dokken <dokken@simula.no>

* Update ffcx/codegeneration/access.py

Co-authored-by: Jørgen Schartum Dokken <dokken@simula.no>

* FIx formatting

* simplify, pass through coefficient paths

* test dP, dr, ds

* Fix interpolate to submesh and negative restrictions in dS integrals.

---------

Co-authored-by: Jørgen S. Dokken <dokken@simula.no>
Co-authored-by: jorgensd <dokken92@gmail.com>

289 of 296 new or added lines in 15 files covered. (97.64%)

5570 of 6223 relevant lines covered (89.51%)

0.9 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
92.36
1.41% ffcx/analysis.py
3
96.25
ffcx/codegeneration/interpolation.py
1
82.53
-0.29% ffcx/codegeneration/numba/formatter.py
Jobs
ID Job ID Ran Files Coverage
1 45890648679.1 26 Nov 2026 08:28PM UTC 61
89.51
GitHub Action Run
Source Files on build 45890648679
  • Tree
  • List 61
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 04ea3e7f on github
  • Prev Build on gh-readonly-queue/main/pr-937-42fcbbc900cccd46aa5a1d2ee8ca68c90d887add (#45853902843)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc