[petsc-dev] viewing factored matrices
Jed Brown
jedbrown at mcs.anl.gov
Fri Nov 22 14:45:34 CST 2013
Barry Smith <bsmith at mcs.anl.gov> writes:
> Ok now let’s consider the given case for viewing the matrix. In the
> code one could do KPSGetPC(), PCFactorGetMatrix(), MatView() so
> anally the option could be -ksp_pc_factor_mat_view and when would
> the view get triggered? Well it makes sense right after the
> factorization. And if we shorten the option name out completely we
> get -mat_view (but we already have a mat_view for the originally
> matrix so to prevent problems we could have -factor_mat_view or
> -pc_factor_mat_view.
What about -mg_levels_2_mat_view or -fieldsplit_pressure_mat_view? If
the number of levels or the fieldsplit names are obtained automatically
From the matrix, then the object cannot reasonably exist at
PCSetFromOptions. Or is there a way?
> Final note: since someone may want to have -mat_view draw -mat_view
> ascii in the same run we actually need to maintain a collection of
> viewers for each trigger point
The options database doesn't currently work this way. What interface
would be use to get those options passed multiple times?
-------------- 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-dev/attachments/20131122/566c36e8/attachment.sig>
More information about the petsc-dev
mailing list