Hi,

I want to use mayavi (and pyvtk) to visualize of 2 dimensional mesh (more
particulary adataptive mesh, it looks like this
http://www.cita.utoronto.ca/~ljdursi/research/curve-region-oct.png).
It consists of a grid splitted in square of the same area, each
square can be divided in four over squares and one or more of these four over
squares can be divided in four over squares ... (and this process is achieved
recursively depends of your refinement level).
I have a list which contains the coordinates of the center of each squares and I
want to use these points do display the mesh. I tried to use pyVtk with the
UnstructuredGrid method but I never succeeded to display the mesh like in the
png link given before.
How can achieve it ? If someone got a python example to use for displaying AMR
or a tutorial.

Thanks

Alex



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to