How to using scalesource property to show non-uniform grid

How to using scalesource property to show non-uniform grid

Imagen de trim

Hi everyone:


I want to use AV visualization my finite difference simulation result, the array is distributed in the non-uniform rectangle grid, I found using the "scaleSource Propery" can show the image correclty, but I do not know how to write the code.
for example I have a 3*3 array to visualze, the array is
[1,2,3,
4,5,6,
7,8,9]
the coordinate is of the array is:


[(1,1),(1,2),(1,5),


(2,1),(2,2),(2,5),


(4,1),(4,2),(4,5)]
Any one can help me write a sample code using fortran or other language?
or tell me how to correctly set the " scale source" property in array viewer?
Thanks.

1 envío / 0 nuevos
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.