Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • $\begingroup$ oldfunction'["ValuesOnGrid"] gives the values of the derivative on the grid, if you didn't know that. The way you show seems to do what you want. If you use multiple functions, each has to be defined on the same element mesh. If not, evaluate the function on the coordinates of the element mesh that is the basis of the new interpolating function. $\endgroup$
    – Michael E2
    Commented Jul 4 at 16:07
  • 3
    $\begingroup$ Do you perhaps mean to use EvaluateOnElementMesh? $\endgroup$
    – user21
    Commented Jul 4 at 17:39
  • $\begingroup$ Oh, yes! Thank you! EvaluateOnElementMesh answers my question! $\endgroup$ Commented Jul 5 at 18:08
  • $\begingroup$ I did not have this function in my Version 13, will need to update to 14. $\endgroup$ Commented Jul 5 at 18:17