distribution of matrix and vector

Yixun Liu enjoywm at cs.wm.edu
Sun Feb 15 17:07:05 CST 2009


Hi,
VecSetSizes(vec, PETSC_DECIDE, n);
MatSetSizes(mat, PETSC_DECIDE, PETSC_DECIDE, n,n);

If the matrix is square can I conclude that the vec and mat have the
same distribution.

Thanks
Yixun



More information about the petsc-users mailing list