se2(partitioning)

Yixun Liu enjoywm at cs.wm.edu
Fri Feb 20 12:25:54 CST 2009


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.




More information about the petsc-users mailing list