You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently, I should be able to change the mesh nodes by simply operating on the mesh coordinates.
If this is true, as long as I take into account the mesh orientation (right to left),
I can manually introduce the displacement field
(and hence not requiring the use of interpolation).
mesh = UnitSquareMesh(10, 10)
for x in mesh.coordinates():
x[0] += 0.1*x[1]
Apparently, I should be able to change the mesh nodes by simply operating on the mesh coordinates.
If this is true, as long as I take into account the mesh orientation (right to left),
I can manually introduce the displacement field
(and hence not requiring the use of interpolation).
From: https://fenicsproject.org/qa/11133/moving-mesh-to-specific-points/
More evidence in the same direction: https://fenicsproject.discourse.group/t/coordinate-update/799/13
The text was updated successfully, but these errors were encountered: