Returns a matrix suitable to calls to MatXXFactorSymbolic()
f - the factor matrix used with MatXXFactorSymbolic() calls
Options Database Key#
-mat_factor_bind_factorization <host, device> - Where to do matrix factorization? Default is device (might consume more device memory. One can choose host to save device memory). Currently only supported with
Users usually access the factorization solvers via
Some PETSc matrix formats have alternative solvers available that are contained in alternative packages such as pastix, superlu, mumps etc.
PETSc must have been ./configure to use the external solver, using the option –download-package
Some of the packages have options for controlling the factorization, these are in the form -prefix_mat_packagename_packageoption
where prefix is normally obtained from the calling
MatGetFactor() is called directly one can set
MatSetOptionsPrefixFactor() on the originating matrix or
MatSetOptionsPrefix() on the resulting factor matrix.
This should actually be called
MatCreateFactor() since it creates a new factor object