discretize icon indicating copy to clipboard operation
discretize copied to clipboard

Plotting vector fields on quadtree and tree meshes

Open thast opened this issue 6 years ago • 2 comments

Is this a desirable feature or should it stay limit to the tensormeshes? Or should we offer an automated way to go from fields on a treemesh to a tensormesh for visualization purposes?

thast avatar Apr 15 '20 18:04 thast

I'm sure that this would be useful and is probably possible with the updates Joe has done for plotting on tree meshes.

Plotting models or fields on a tree mesh used to be painfully slow. To circumvent this problem I simply interpolated the tree mesh or fields to a core tensor mesh for plotting. I have not had a chance to play around with plotting on a tree mesh since Joe made some improvements.

micmitch avatar Apr 16 '20 15:04 micmitch

@micmitch : @jcapriot 's treemeshes are awesome. But it is not (yet) possible to plot vector fields with the associated Utils. See the caption of the current error message below: image

for the interpolation onto tensormesh, that's what we all do for now. But it would be nice to offer a utils that does it in a few lines, instead of having each time to create the mesh, select a subset area, write the interpolations functions in all directions etc.

thast avatar Apr 16 '20 18:04 thast