Perhaps you need: http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/DA/DACreate2d.html
Satish On Wed, 11 Feb 2009, Matthew Knepley wrote: > I think you want MatPartitioning > > > http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/MatOrderings/MatPartitioningCreate.html > > Matt > > On Wed, Feb 11, 2009 at 9:16 AM, Yixun Liu <enjoywm at cs.wm.edu> wrote: > > Hi, > > I have 4 processors and I want to distribute the mesh on these four > > processors. For the partial mesh on processor 1, I want its vertex > > number to be in the range, let's say, 0 to 99 and for the mesh on > > processor 2, 100 to 199 etc. Does PETSC provide some routine to do it? > > > > Thanks. > > > > Yixun > > > > > >
