Re: [deal.II] Solve for eigenvalues for small matrix in serial

2019-12-25 Thread Pai Liu
Thanks very much! -- 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

Re: [deal.II] Solve for eigenvalues for small matrix in serial

2019-12-20 Thread Wolfgang Bangerth
On 12/19/19 8:23 PM, Pai Liu wrote: > In my parallel code, I want to solve the eigenvalues of a small matrix (e.g. > 3 > by 3) in serial on each processor. In addition to Jean-Paul's answer, if your 3x3 matrix is symmetric, you can also put the entries into an object of type

Re: [deal.II] Solve for eigenvalues for small matrix in serial

2019-12-19 Thread Jean-Paul Pelteret
Hi Pai, If you’ve got LAPACK installed then the LAPACKFullMatrix class is able to do the job for you. It has several methods implemented to compute eigenvalues, and you’d then use the eigenvalue()