← Back to team overview

dolfin team mailing list archive

Re: [Question #147945]: How to call SLEPcEigenSolver for generalized eigenvalue problem?

 

Question #147945 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/147945

    Status: Open => Answered

Garth Wells proposed the following answer:
For a regular problem, use

    esolver = SLEPcEigenSolver(A)

and for a generalised problem (Ax = \lambda M x),

    esolver = SLEPcEigenSolver(A, M)

For the rest, the procedure is the same as in

    demo/la/eigenvalue

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.