On Fri, 16 Apr 2010, Boyce Griffith wrote:

> On 4/16/10 12:45 PM, Roy Stogner wrote:
>> 
>> On Fri, 16 Apr 2010, Boyce Griffith wrote:
>> 
>>> What is the mapping from the libMesh DOF indexing scheme to the global
>>> PETSc indexing scheme?
>> 
>> libMesh index i -> PETSc global index i. :-)
>> 
>> Not the most efficient thing to do with ghosted vectors, but any
>> future change would be by adding a new API, not changing the behavior
>> of the old.
>
> Thanks!  Another hopefully quick question --- what is the argument i to 
> Mesh::point()?  Is i supposed to be a dof index?  (I am trying to extract the 
> values and spatial locations of each of the local DOFs.)

No, a node index.  There can be multiple DoFs on each node, as well as
DoFs that are associated with elements instead of nodes.
---
Roy

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to