[petsc-users] Error in using KSPSOperators
Ivan Luthfi
ivanluthfi5 at gmail.com
Sun Jul 14 03:54:44 CDT 2024
Hi there, I have an issue in compiling my code. Here is the warning:
MsFEM_poisson2D_DMDA.c:159:65: error: cannot convert ‘MatStructure’ to
‘Mat’ {aka ‘_p_Mat*’}
159 | ierr =
KSPSetOperators(ksp_direct,up.Af,DIFFERENT_NONZERO_PATTERN);CHKERRQ(ierr);
Please help me
--
Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240714/c6bd5cf7/attachment.html>
More information about the petsc-users
mailing list