ffcx icon indicating copy to clipboard operation
ffcx copied to clipboard

Improve support for custom integration kernels

Open sclaus2 opened this issue 11 months ago • 0 comments

Currently it is rather difficult to customize ffcx generated integration kernels. This issue is to outline some ideas on how to improve ffcx to make this easier. My aim is to use these improvements to write a runtime integration kernel extension to ffcx. The steps discussed so far are:

  1. Introduce a 'void*' to tabulate_tensor arguments in ffcx
  2. Keep details of basix elements used for tabulation in intermediate representation of integrals, i.e. prevent loss of information across ffcx.
  3. Make basix tabulate order consistent between basix and ffcx generated code

First PRs connected to this are: https://github.com/FEniCS/dolfinx/pull/3643 and https://github.com/FEniCS/ffcx/pull/749 (1.) .

sclaus2 avatar Feb 21 '25 16:02 sclaus2