VecView behaviour

Andreas Grassl Andreas.Grassl at
Fri May 29 04:34:42 CDT 2009


I'm working with the PCNN preconditioner and hence with ISLocalToGlobalMapping.
After solving I want to write the solution to an ASCII-file where only the
values belonging to the "external" global numbering are given and not followed
by the zeros.

Currently I'm giving this commands:

ierr = PetscViewerSetFormat(viewer,PETSC_VIEWER_ASCII_SYMMODU);CHKERRQ(ierr);
ierr = VecView(X,viewer);CHKERRQ(ierr);

Does anybody have an idea, which option or function could help me?



 /"\                               Grassl Andreas
 \ /    ASCII Ribbon Campaign      Uni Innsbruck Institut f. Mathematik
  X      against HTML email        Technikerstr. 13 Zi 709
 / \                               +43 (0)512 507 6091

More information about the petsc-users mailing list