Hello, Barry,<br><br>thanks for your reply, it has surely made things way more clear for me now.<br><br>I believe I'm going to stick with strategy # 2 (writing my own MyMatFDColoringCreate, etc) because, to me, it sounds simpler, since I'm on a tight time schedule right now and that I'm quite knowledgeable about how things go inside the SNES (two years dealing with nonlinear problems in PETSc finally paid off) and the MatFDColoring modules. Plus, using my own data structures would be of great help to me as well, given that it took me a considerable amount of time to design them efficiently.<br>
<br>And I would gladly contribute my coding effort to PETSc if my routine proves to be more efficient and flexible. :-)<br><br>Rafael<br><br><br>