Hi,
In ex2, the following codes Change the element vertex information to the
PETSc numbering.

705:AOCreateBasic 
<http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-3.0.0/docs/manualpages/AO/AOCreateBasic.html#AOCreateBasic>(PETSC_COMM_WORLD
 
<http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-3.0.0/docs/manualpages/Sys/PETSC_COMM_WORLD.html#PETSC_COMM_WORLD>,gdata->nlocal,gdata->localvert,PETSC_NULL
 
<http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-3.0.0/docs/manualpages/Sys/PETSC_NULL.html#PETSC_NULL>,&ao);
 
<http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-3.0.0/docs/manualpages/AO/AOCreateBasic.html#AOCreateBasic>710:AOApplicationToPetsc
 
<http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-3.0.0/docs/manualpages/AO/AOApplicationToPetsc.html#AOApplicationToPetsc>(ao,3*gdata->mlocal_ele,gdata->ele);

However, I cannot find the codes which are used to create an array or vector, 
which stores the coordinates according to the PETSc numbering. Without this 
array how we get the coordinate of the vertex of an element?

Thanks.


Reply via email to