[petsc-dev] MatSetFromOptions for MatFactor

Barry Smith bsmith at mcs.anl.gov
Fri Aug 2 12:54:35 CDT 2013


On Aug 1, 2013, at 10:47 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> It looks like we lost the ability to view factors when we switched to
> this model.
> 
>  ierr = PetscOptionsViewer("-mat_view","Display mat with the viewer on MatAssemblyEnd()","MatView",&B->viewonassembly,&B->viewformatonassembly,NULL);CHKERRQ(ierr);
> 
> Should we have PCLU, PCILU, and similar append the prefix "factor_" and
> call MatSetFromOptions if PCSetFromOptions has been called?

  Seems like the right model.

   Barry





More information about the petsc-dev mailing list