get the preconditioner matrix
Barry Smith
bsmith at mcs.anl.gov
Wed Apr 12 19:55:34 CDT 2006
Letian,
What do you mean be "pre-conditioner matrix"? It is very rare
that a preconditioner is explicitly represented as a matrix; it is almost
always just some code that applies the operator. In general an explicitly
represented preconditioner would actually be a dense matrix.
If you truly want this dense matrix you can call PCComputeExplicitOperator()
and store the resulting matrix to a file.
Barry
On Wed, 12 Apr 2006, Letian Wang wrote:
> Dear all,
>
>
>
> Is it possible to obtain the PETSc pre-conditioner matrix and output it to a
> file? How can I do that? Thanks.
>
>
>
> Letian Wang
>
>
>
>
More information about the petsc-users
mailing list