On Oct 19, 2011, at 6:33 PM, Jed Brown wrote: > This is currently being handled by having MatCreate() dynamically compose all > the possible (matrix format, solver package) combinations in the Mat, but > then we have no way to have -help list the possibilities. What about having a > static list > > typedef struct _n_MatFactorSolverPackageLink *MatFactorSolverPackageLink; > struct _n_MatFactorSolverPackageLink { > MatType type; > PetscFList package_list; > MatFactorSolverPackageLink *next; > } > > MatFactorRegisterSolverPackage(MATMPIAIJ,MATSOLVERSUPERLU_DIST,path,"MatGetFactor_mpiaij_superlu_dist",MatGetFactor_mpiaij_superlu_dist); > > This change seems fine.
Barry