Dear Guillaume Dupont, Unfortunately GetFEM does not provide functions for eigenvalue analysis. As you assumed you need to use the assembled matrices from GetFEM to calculate eigenvalues/vectors with an external solver. You can convert from SpMat to scipy.sparse e.g. with:
M = scipy.sparse.csc_matrix((M.csc_val(),*(M.csc_ind()[::-1]))) Best regards Kostas On Mon, Oct 18, 2021 at 9:24 AM Guillaume Dupont < guillaume.dup...@geocorail.com> wrote: > Dear getfem users, > > I'm trying to solve the eigenvalue problem of Helmholtz equation. > Is there a simple way to do it with getfem with the python api ? > And another thing, is there a command in getfem to pass Spmat arrays to > numpy sparse ? > > Best regards > > > -- > > *Guillaume Dupont* > > Ingénieur d’études / Design Engineer > > +33.(0).6.25.51.00.05 > [image: GEOCORAIL] >