[petsc-users] PCSHELL

Jed Brown jedbrown at mcs.anl.gov
Thu Jul 25 17:35:58 CDT 2013


Barry Smith <bsmith at mcs.anl.gov> writes:
>    PCFactorSetMatOrdering() is only effective if the PC is a subclass
>    of PCFactor, for example PCLU is a subclass of PCFactor as are
>    PCILU and PCCHOLESKY and PCICC

One could register their own function without deriving from PCFactor.

  PetscObjectComposeFunction((PetscObject)pc,"PCFactorSetMatOrderingType_C",PCFactorSetMatOrderingType_YourPCShell);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130725/e22812b3/attachment.pgp>


More information about the petsc-users mailing list