MatGetColumnVector()

Jozsef Bakosi jbakosi at gmu.edu
Wed May 24 12:52:27 CDT 2006


Hi all,

I'm trying to use MatGetColumnVector() to extract a column from a
matrix, but even if I put a MatAssemblyBegin/MatAssemblyEnd pair
right before it, I always get the error message during run:

[0]PETSC ERROR: MatGetRow() line 163 in src/mat/interface/matrix.c
[0]PETSC ERROR: Object is in wrong state!
[0]PETSC ERROR: Not for unassembled matrix!
[0]PETSC ERROR: MatGetColumnVector() line 61 in src/mat/utils/getcolv.c

What can cause this problem?

I'm using PETSc 2.3.1.

Jozsef
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20060524/28a3cf55/attachment.pgp>


More information about the petsc-users mailing list