Skip to content

Allow wrapping of non-differentiable functions in GridFunction

This MR makes it possible to omit the derivatives from a grid function and its local function and still wrap it in a GridFunction. This really simplifies life for people who want to do custom stuff in their local functions, as getting the derivative functions right is non-trivial (you have to make them return the interface types of the polymorphic wrapper).

Fixes #43 (closed)

Merge request reports