The method of print the preconditioned matrix
Dear Sir or Madam: Hello, I am a new PETSc learner. I'm having some problem with it and I'm using version 3.6.3 of PETSc. I can only print out the Jacobi matrix (J) with -mat_view from the command line, but I also need to print out the preconditioning operator (M^(-1)) or the preconditioned matrix (JM^(-1)). Is there a function like that in PETSC? Could you please give me some suggestions? Thank you so much. Best regards, Nian Yang
On Wed, May 19, 2021 at 8:36 AM 杨念 <[email protected]> wrote:
Dear Sir or Madam:
Hello, I am a new PETSc learner. I'm having some problem with it and I'm using version 3.6.3 of PETSc. I can only print out the Jacobi matrix (J) with -mat_view from the command line, but I also need to print out the preconditioning operator (M^(-1)) or the preconditioned matrix (JM^(-1)). Is there a function like that in PETSC? Could you please give me some suggestions? Thank you so much.
I think you want https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PC/PCComputeOpe... Thanks, Matt
Best regards,
Nian Yang
-- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
participants (2)
-
Matthew Knepley -
杨念