Very costly interpolation of UserExpression

Maybe take a look at these, and try to implement your code in C++, this will make it much faster than using a UserExpression, that uses python to do the computations

1 Like