- Thank you received: 0
webgui issue: mesh doesn't deform with components of a complex CF
- pumpkinpieter
- Topic Author
- Offline
- New Member
Less
More
2 years 8 months ago #4260
by pumpkinpieter
Hi There,
I recently reinstalled NGSolve from source on my machine (running Linux mint). I noticed an issue with the webgui that wasn't present before. If I plot a complex function on a mesh and try to deform it, the mesh doesn't travel with the real or complex parts of the function. If I set it to display the norm, then the mesh does follow along when deforming. Here's a minimal working example:
If I deform the real component I get the image in attachments.
I recently reinstalled NGSolve from source on my machine (running Linux mint). I noticed an issue with the webgui that wasn't present before. If I plot a complex function on a mesh and try to deform it, the mesh doesn't travel with the real or complex parts of the function. If I set it to display the norm, then the mesh does follow along when deforming. Here's a minimal working example:
Code:
from netgen.geom2d import unit_square
import ngsolve as ng
from ngsolve.webgui import Draw
mesh = ng.Mesh(unit_square.GenerateMesh(maxh=.1))
Draw(ng.x - 1/2 + 1j * ng.y, mesh)
If I deform the real component I get the image in attachments.
- pumpkinpieter
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
2 years 8 months ago #4263
by pumpkinpieter
Replied by pumpkinpieter on topic webgui issue: mesh doesn't deform with components of a complex CF
Not certain how to get the images to come through here actually. But if you run that example you may see what I see, that if you deform either the real or complex components the mesh doesn't travel with it.
2 years 8 months ago #4268
by matthiash
Replied by matthiash on topic webgui issue: mesh doesn't deform with components of a complex CF
Hello,
First: We still have issues with the forum software, thus the code environment and attachments are not visible.
I can reproduce your problem, a fixed version of webgui_juypter_widgets will be released soon.
Best,
Matthias
First: We still have issues with the forum software, thus the code environment and attachments are not visible.
I can reproduce your problem, a fixed version of webgui_juypter_widgets will be released soon.
Best,
Matthias
Time to create page: 0.097 seconds