[petsc-users] petscmat.h missing definition

Jed Brown jed at jedbrown.org
Thu Apr 9 06:53:34 CDT 2015


siddhesh godbole <siddhesh4godbole at gmail.com> writes:

> Hello
>
> i have petsc-3.5.2 and i can not find MatGetArray and MatRestoreArray 

MatGetArray()/MatRestoreArray() have been removed. Use MatDenseGetArray()/MatDenseRestoreArray() or MatSeqAIJGetArray()/MatSeqAIJRestoreArray()

http://www.mcs.anl.gov/petsc/documentation/changes/34.html

> in my petscmat.h which is supposed to contain the definitions of it as
> per online help module.  i am getting undefined reference to these
> routines errors.  what should i do?
>
> kindly help
>
> *Siddhesh M Godbole*
>
> 5th year Dual Degree,
> Civil Eng & Applied Mech.
> IIT Madras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150409/ece4af33/attachment.pgp>


More information about the petsc-users mailing list