<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#330033">
<font face="Trebuchet MS">Hi, <br>
<br>
Is there a way to fine tune '-ksp_view_mat binary' so it only
gives me an output at a defined time? <br>
<br>
I'm implementing a Two-Stage Preconditioner for PFLOTRAN (a
subsurface flow and transport simulator which uses PETsc).
Currently I like to compare convergence of the preconditioning in
PFLOTRAN against a prototyped version in MATLAB. In PFLOTRAN I
export the Jacobian, and residual before they get handed-over to
PETsc, which get imported in MATLAB to do the Two-Stage
Preconditioning. <br>
<br>
However, I know I can do exports closer to PETsc with the options
'-ksp_view_mat binary' and '-ksp_view_rhs binary'. Unfortunately I
get outputs for the whole simulation in one file, instead of only
at a well-defined Newton-Raphson iteration (as done in PFLOTRAN).
<br>
<br>
Is there a way to tell PETsc</font><font face="Trebuchet MS"><font
face="Trebuchet MS"> </font>with above options when to export
the Jacobian and residual?<br>
<br>
Any pointers much appreciated!<br>
<br>
Thank you!<br>
Robert<br>
</font>
</body>
</html>