Lulu Liu <[email protected]> writes:
> Sorry, I still feel confused. Is there any example to show how to do this?

Not exactly; you should use MatFDColoringApply yourself.  There is a
section of the Users Manual that discusses this.

> If I have separate functions for each part, how to wrapper them into a
> function?
> For example, how could tell PETSc to use the function fp(S;p) when the
> block Jps is computed?

MatFDColoringSetFunction()

Attachment: pgp22v8aRjbPZ.pgp
Description: PGP signature

Reply via email to