Re: [deal.II] Eigenvalues and Eigenvectors of BlockSparse Matrix

2020-09-24 Thread Animesh Rastogi IIT Gandhinagar
I could finally configure dealii using ARPACK. I am facing issues in initialising the identity matrix that is to be given to the eigensolver.solve(). I am trying to replace the mass matrix with an identity matrix.. I am copying the code again in this thread.. std::vector> eigenvalues;

Re: [deal.II] step-1 Error

2020-09-24 Thread luca.heltai
In the documentation of the 9.0.0 package, this is what is installed via spack: ==> 60 installed packages. -- darwin-highsierra-x86_64 / clang@6.0.0 --- adol-c@develop gmp@6.1.2matio@1.5.9 ninja@1.8.2 readline@7.0 arpack-ng@3.6.3

Re: [deal.II] Eigenvalues and Eigenvectors of BlockSparse Matrix

2020-09-24 Thread Animesh Rastogi IIT Gandhinagar
Hi Jean, It turns out that I did not configure dealii with ARPACK. So I followed the readme instructions and installed and compiled ARPACK as suggested. I also tried to run the examples in the ARPACK directory and they are running without any errors. However, when I tried to reconfigure

Re: [deal.II] Eigenvalues and Eigenvectors of BlockSparse Matrix

2020-09-24 Thread Animesh Rastogi IIT Gandhinagar
Hi Jean, Thanks a lot for your response. I am trying as you suggested. I have added the following code inside the linear solver so that I can get the eigenvalues at every newton step. std::vector> eigenvalues; std::vector >eigenvectors; SparseMatrix identity