In this tutorial, multigrid is using Chebysev sweeps around a point Jacobi solver as smoother. Latter needs the (inverse) of the diagonal.
Hope this helps. Peter On Friday, January 27, 2023 at 11:07:21 AM UTC+1 13274...@163.com wrote: > hello everyone! > I am learning about the step37 and want to use matrix free methods in my > program. Now I am confused about the two functions` use. compute_diagonal > and local_compute_diagnol. I am confused why we need to compute the > elements on diagnol. thanks for your reply! > > > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/edfcb66b-a851-439c-8c70-62b69c317d2en%40googlegroups.com.