I used to be able to compute the derivative of the residual with respect to parameters with a small twick of the jacobian function within Gridap the old solution under Gridap v0.15. I thought I could upgrade to Gridap 0.17 to catch up on your amazing progresses and give some help with the autodiff part.
Unfortunately, I don't see any way through and would appreciate some pointers if you have the time. I believe this would greatly benefit and extend the capacities of Gridap in a new direction.
I used to be able to compute the derivative of the residual with respect to parameters with a small twick of the jacobian function within Gridap the old solution under Gridap v0.15. I thought I could upgrade to Gridap 0.17 to catch up on your amazing progresses and give some help with the autodiff part.
Unfortunately, I don't see any way through and would appreciate some pointers if you have the time. I believe this would greatly benefit and extend the capacities of Gridap in a new direction.
I tried to come up with a simple example:
The error comes from
_change_argument(jacobian,f,trian,uh)
https://github.com/gridap/Gridap.jl/blob/1fb3dc9abf8c47685637901bd14a74e4355a9492/src/MultiField/MultiFieldFEAutodiff.jl#L73 and https://github.com/gridap/Gridap.jl/blob/1fb3dc9abf8c47685637901bd14a74e4355a9492/src/Arrays/Autodiff.jl#L13