KSPMonitorTrueResidualNorm and SNES
Lukasz Kaczmarczyk
likask at civil.gla.ac.uk
Wed Oct 28 02:28:10 CDT 2009
Hi Barry
I am using petsc-3.0.0-p7.
Regards,
Lukasz
On 28 Oct 2009, at 01:30, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
> What prehistoric version of PETSc are you using?
>
>
> Barry
> On Oct 27, 2009, at 6:19 PM, Lukasz Kaczmarczyk wrote:
>
>> Hello,
>>
>> I have noticed minor problem, potentially bug. For nonlinear
>> analysis with SNES and option -ksp_monitor_true_residual I get
>> 0 Norm Res_strain 9.36e-12 Norm Res_stress 1.43e-05 Internal its 1
>> 0 SNES Function norm 1.428489691212e-05
>> 0 KSP preconditioned resid norm 7.213823259362e-04 true resid
>> norm 1.428489691212e-05 ||Ae||/||Ax|| 1.000000000000e+00
>> 0 KSP preconditioned resid norm 7.213823259362e-04 true resid
>> norm 1.428489691212e-05 ||Ae||/||Ax|| 1.000000000000e+00
>> 1 KSP preconditioned resid norm 4.903423697449e-04 true resid
>> norm 9.339595309685e-06 ||Ae||/||Ax|| 6.538090801174e-01
>> 1 KSP preconditioned resid norm 4.903423697449e-04 true resid
>> norm 9.339595309685e-06 ||Ae||/||Ax|| 6.538090801174e-01
>>
>> It look that function KSPMonitorTrueResidualNorm is evaluated
>> twice, whereas for default KSP monitor only once. I use petsc-3.0.0-
>> p7.
>>
>> Kind regards,
>> Lukasz
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20091028/d86558a8/attachment-0002.htm>
More information about the petsc-users
mailing list