<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi, <br>
<br>
I am solving a non-linear problem and using a finite difference approximation with coloring to compute the Jacobian matrix.<br>
<br>
</p>
<div>There are several coloring algorithms available in PETSc as indicated here:<br>
https://petsc.org/release/docs/manualpages/Mat/MatColoring.html<br>
<br>
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.<br>
</div>
<br>
<p>Thank you.</p>
<p><br>
</p>
<p>Zakariae Jorti<br>
</p>
<p></p>
</div>
</body>
</html>