Hi,
I am trying to replicate the custom function example shown here: Adding custom functions. However I can’t seem to import the overload_function module (No module named 'pyadjoint.overloaded_function'
).
I have also followed the example here, and I am still getting an import error (this time cannot import name 'create_overloaded_object'
.
Does anyone know what the current implementation is to create custom overloaded functions?
I am using Fenics 2018.1.0 and dolfin_adjoint 2018.1.0
Many thanks in advance,
D