Bug:Chebyshev preconditioner of 0th degree

12 views
Skip to first unread message

Michał Wichrowski

unread,
Oct 12, 2019, 8:06:18 AM10/12/19
to deal.II User Group
Dear all,
The documentation of Chebyshev precondition says that:

"Note that if the degree variable is set to zero, the Chebyshev iteration corresponds to a Jacobi preconditioner"

while actually setting degree to 0 triggers Assertion at line 2211 of precondition.h. Moreover, the PreconditionChebyshev works well with degree=0 in release mode, so I think removing assetion will resolve the problem.

If Chebyshev preconditioner is not intended to be used with 0th degree this should be added to documentation (and documentation in current form is missleading)

Best,
MIchaĺ

Daniel Arndt

unread,
Oct 12, 2019, 8:29:23 AM10/12/19
to dea...@googlegroups.com
MIchaĺ,

The documentation in the developer version or the current version (https://www.dealii.org/developer/doxygen/deal.II/classPreconditionChebyshev.html) says:
"[...] Note that if the degree variable is set to one, the Chebyshev iteration corresponds to a Jacobi preconditioner (or the underlying preconditioner type) with relaxation parameter according to the specified smoothing range. [...]"
and the assertion is at line 2211 only in the developer version. The text you are referring to can be found in version 9.0.0.

Best,
Daniel


--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/052f0208-e7b2-41aa-8876-c0df06ca4a92%40googlegroups.com.

Michał Wichrowski

unread,
Oct 12, 2019, 9:08:01 AM10/12/19
to deal.II User Group


W dniu sobota, 12 października 2019 14:29:23 UTC+2 użytkownik Daniel Arndt napisał:
MIchaĺ,

The documentation in the developer version or the current version (https://www.dealii.org/developer/doxygen/deal.II/classPreconditionChebyshev.html) says:
"[...] Note that if the degree variable is set to one, the Chebyshev iteration corresponds to a Jacobi preconditioner (or the underlying preconditioner type) with relaxation parameter according to the specified smoothing range. [...]"
and the assertion is at line 2211 only in the developer version. The text you are referring to can be found in version 9.0.0.

Best,
Daniel

You're right, I was following wrong version of documentation. Thanks
Reply all
Reply to author
Forward
0 new messages