- New method
EigenProblem
to create a new standard generalized eigenvalue problem.K⋅x = ξ(M⋅x)
- Extend
solve
to return the eigenvaluesξ
and an array ofFEFunction
corresponding to the eigenvectors. - Dependencies: Arpack.jl for Eigenvalue problems.
Run eigen-test.jl
to solve:
-Δu = ξu in Ω
u = 0 on ∂Ω
ξ=
10-element Vector{ComplexF64}:
2.016502905927483 + 4.762186701117926e-17im
5.141503239816802 - 1.0475743045319342e-16im
5.141503239816826 - 5.058208907594383e-17im
8.266503573706123 + 1.7471556284344306e-16im
10.692073427500683 + 1.487357557157156e-16im
10.692073427500699 - 4.462073229727142e-16im
13.817073761390013 - 7.885029881682365e-16im
13.81707376139005 - 1.5611691573305622e-17im
19.200724573055854 + 1.5985650768400135e-16im
19.20072457305593 + 9.243304317297491e-17im
4th eigenmode:
Works great! Just what I was looking for.