[petsc-dev] PCApply_PBJacobi_7

Hong hzhang at mcs.anl.gov
Mon Mar 27 09:39:44 CDT 2017


> Hello,
> PCApply_PBJacobi FLOPs complexity is bs*(2*bs-1)*m.
> How do you come up with PetscLogFlops(80.0*m) in PCApply_PBJacobi_7
> (src/ksp/pc/impls/pbjacobi/pbjacobi.c), please?

You are correct. It should be 7*(2*7-1) = 91*m
Also, it should be m for PCApply_PBJacobi_1() (not 2*m).

I'll fix them in petsc-maint.
Thanks for reporting it!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20170327/05051f71/attachment.html>

More information about the petsc-dev mailing list