getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: eigenvalue problem


From: Konstantinos Poulios
Subject: Re: eigenvalue problem
Date: Mon, 18 Oct 2021 13:56:00 +0200

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.dupont@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

GEOCORAIL

reply via email to

[Prev in Thread] Current Thread [Next in Thread]