[petsc-users] Creating a 2d geometry by using vector
Alan Wei
zhenglun.wei at gmail.com
Thu Aug 18 21:03:16 CDT 2011
Dear All,
I'm trying to 'draw' a 2-D cylinder in PETSc. It simply restore the x
and y coordinate values in two arrays. I wonder if I can use Vec in PETSc to
implement it (i.e. defining a vec circle) so that I can call its x or y
coordinate by circle.x or circle.y. Is this possible? also, is this a better
way than just defining it as two arrays, i.e. x[ ] and y[ ].
thanks in advance,
Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110818/83005a69/attachment-0001.htm>
More information about the petsc-users
mailing list