Re: [Libmesh-users] Coordinates of a Node object

2008-01-29 Thread Derek Gaston
Vijay... a Node _IS_ a Point (in the polymorphic sense) in libMesh... meaning that you can just do: x = somenode(0); y = somenode(1); z = somenode(2); Derek On Jan 29, 2008 2:45 PM, Vijay M <[EMAIL PROTECTED]> wrote: > Hi, > > I've got a question that is along the same lines of Parallel mesh > q

[Libmesh-users] Coordinates of a Node object

2008-01-29 Thread John Peterson
Hi, You are looking for Point::operator(int i) which returns the i=0,1, or 2-component of the 3-vector which represents the point. -J Vijay M writes: > Hi, > > I've got a question that is along the same lines of Parallel mesh > question asked few days back. So Roy, this question might be fo

[Libmesh-users] Coordinates of a Node object

2008-01-29 Thread Vijay M
Hi, I've got a question that is along the same lines of Parallel mesh question asked few days back. So Roy, this question might be for you. I was initially trying to use the PETSc function "VecGetOwnershipRange" to find the local nodes and loop over them to set it but then find out after few hour