[petsc-users] MatColoring

Jorti, Zakariae zjorti at lanl.gov
Tue May 10 10:40:39 CDT 2022


Hi,

I am solving a non-linear problem and using a finite difference approximation with coloring to compute the Jacobian matrix.


There are several coloring algorithms available in PETSc as indicated here:
https://petsc.org/release/docs/manualpages/Mat/MatColoring.html

And I was wondering how to switch from one to another in the Jacobian setup routine and also how to check which coloring algorithm I am currently using.


Thank you.


Zakariae Jorti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220510/1beba5e3/attachment.html>


More information about the petsc-users mailing list