Alberto F. Martin

Results 74 comments of Alberto F. Martin

Ok. So we should find a way to automatically trigger the workaround whenever autodiff tries to differentiate interpolate_everywhere. Correct?

> Or perhaps use the workaround directly. Since I guess it is not easy to write a rule for interpolate_everywhere. The variables you differentiate wrt are not passed explicitly to...

Sorry ... ParameterizedFunction, **NOT** ParameterizedFEFunction, solved in the previous post.

The work underlying this issue should build from the following comment: https://github.com/gridap/Gridap.jl/pull/267#issuecomment-635738975

@oriolcg @ConnorMallon I will take a look at it whenever I have some time. Thanks for reporting

@oriolcg do you have a mwe?

> I'll prepare one reproducer and post it here Hi @oriolcg ... could you please help us and prepare one reproducer of this issue? I want to work with both...

> Hi @amartinhuertas , yes I forgot about this issue. Here I attach a reproducer: Thanks!

Hi @fverdugo, thanks for sharing this micro-benchmark. Same (qualitative) outcome in my machine. In particular: * With `@inline` and without it: ``` 126.372 ms (0 allocations: 0 bytes) 120.451 ms...