Dear all,
Thank you for your always support and help.
I am encountering an issue while solving an eigenvalue problem related to the computation of the discrete inf-sup constant for a saddle point problem. Specifically, I am solving the following system:
Bt A^-1 B eigenvector = eigenvalue M eigenvector,
where Bt A^-1 B is clearly symmetric and at least semi-positive definite, and M is a symmetric positive definite matrix.
The problem arises when comparing the inf-sup constants obtained using Matlab and dealii (solving on the same mesh ):
The discrepancy is puzzling, as both methods should give consistent results. To illustrate this issue, I have attached a figure comparing the two results and included in this post the two data files obtained from Matlab and deal.II.
I would greatly appreciate any insights or suggestions on what might be causing the discrepancy.
Your help is highly appreciated,
Najwa
However, when solving the direct system, I need to provide the inverse of AA to the Arpack solver. This requires solving the system using the Conjugate Gradient (CG) method a number of times equal to the size of AA. As the mesh is refined, this size increases, and depending on the finite element method (FE) I am using, it could be even larger.
While I have been able to obtain at least the first three results for many FEs I am testing which is enough for the current study, I am seeking a faster solution for a general eigenvalue problem of the same type. If anyone has suggestions for a more efficient approach to finding the inverse of AA, I would greatly appreciate it.
One more time, you have always been great supporters. This group is very useful. Thank you to you Wolfgang, to Mathias for the answer, and to all members and developers of deal.ii.
Best regards,
Najwa
Il giorno 2 giu 2024, alle ore 09:42, Najwa Alshehri <najwaa...@gmail.com> ha scritto:
Wolfgang and all,
--
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/e448210c-be8d-4460-8b41-27a4425f7accn%40googlegroups.com.
Thank you for bringing this to my attention. I would definitely love to share the code in the code gallery for the benefit of others. In this case, I will create a code for a simpler problem, such as the Stokes problem or mixed Laplace problem, to illustrate the concept of the inf-sup condition and how to compute the constant. As soon as it is ready, I will submit it there.
Best regards,