[petsc-users] Question about Vec/MatSetLocalToGlobalMapping

Pedro Torres torres.pedrozpk at gmail.com
Thu Feb 11 12:33:58 CST 2010


Hi,

How can I check if a mapping is already set in a Vec/Mat object??. I try the
following,

if(!A->mapping)MatSetLocalToGlobalMapping(A,map);

but I get this error
error: invalid use of incomplete type ‘struct _p_Mat’
error: forward declaration of ‘struct _p_Mat’

Thanks in advance

Pedro Torres
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100211/a2aab1a8/attachment.htm>


More information about the petsc-users mailing list