Evaluate FEFunction on arbitrary point of the domain #1044
-
Hi, Thank you for your incredible effort in developing Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Yes. If |
Beta Was this translation helpful? Give feedback.
-
Just to add to what @amartinhuertas said: Note that this is incredibly inefficient since it will have to do a global tree-search to locate which cell contains which point. Also, this search is relies on inverse-cellmaps. So we do not recommend this unless it is for debugging/plotting purposes. |
Beta Was this translation helpful? Give feedback.
Yes. If
uh
is a Gridap'sFEFunction
, andx
is an arbitrary point in the domain (of typePoint{D}
, where D is the number of space dimensions), then you can writeuh(x)
to achieve this.