Remeshing a function / changing mesh coordinates while preserving function shape #3101
Unanswered
sorenandflying
asked this question in
Firedrake support
Replies: 1 comment
-
Have you recently run |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I am working on a project where I need to change the coordinates of a mesh so I am working with a smaller and smaller section of a function.
While I can change mesh coordinates, this ends up "squishing" my function, rather than "cutting" or "zooming" into the smaller section I want to work with.
I can evaluate individual points of a function
f_0
usingat()
, but I need to evaluate a whole sections off_0
using the same number of cells and the same degree as the original function. I hope my code below makes it a little more clear what I am attempting.Here is an example of code of some of the variations I've tried so far.
The result I want looks like the following chart, but I need it to be based on the values of 'f_0`:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions