[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MatGetColumnVector()



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

Attachment: signature.asc
Description: Digital signature