Is there a way to provide graph coordinates?

Matthew Knepley knepley at
Thu Dec 4 12:37:24 CST 2008

We have no specific structure for this. I would just use a Vec.


On Thu, Dec 4, 2008 at 12:26 PM, Anirban Chatterjee <achatter at>wrote:

> Hi,
> Is there a way to provide coordinates to the nodes of a graph/matrix when
> declaring it?
> I have the adjacency matrix and want to provide (x y) coordinates to the
> nodes of the adjacency graph corresponding to the matrix.
> How do I do this in PETSc? I want to use a geometric partitioner on this
> adjacency matrix.
> Thanks,
> Anirban
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the petsc-users mailing list