Thank You, Jed! I'll follow your advice. Now im having some problems with using nondefault viewers, but i think i can cope with it. Thanks
2011/3/22 Jed Brown <jed at 59a2.org> > On Tue, Mar 22, 2011 at 10:41, ??????? ??????? <ram at ibrae.ac.ru> wrote: > >> Thank You for you answer! Yes now I can see from the output, that VecView >> uses natural ordering, but its also very importaint to understand where (on >> which processor) elements are finaly stored. If I got it in a right way, >> VecView uses natural ordering and gives the WRONG information about actual >> distribution of memory among processors. > > > The natural ordering is different from the PETSc ordering. If you want to > view the Vec in the order it is stored in, use > > PetscViewerPushFormat(viewer,PETSC_VIEWER_NATIVE); > VecView(X,viewer); > PetscViewerPopFormat(viewer); > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110323/5591a296/attachment.htm>
