Skip to content

opaque data type

tj-sun requested to merge opaque-type into kernel_callables_v3

This is the minimal changes that I have made to get opaque type (petsc types in my case) working for Firedrake. To use it, I declare a subclass of OpaqueType and give it a name property, and for code generation, we just output the name for the type.

I suspect that this is not sufficient. Any suggestions on other features/checks to add to this MR?

Merge request reports

Loading