Back to Finite Element (MFEM)
mfem.eigenvalue.solve
Solve the eigenvalue problem using LOBPCG.
Syntax
mfem.eigenvalue.solve(solver, eigenvectors)
Description
Solve the eigenvalue problem using LOBPCG. Solves: Ax = λBx (generalized) or Ax = λx (standard if B is not set) The eigenvectors will be stored as columns in the provided DenseMatrix. The matrix should be pre-allocated with dimensions [nDofs × numModes].
Parameters
| Name | Description |
|---|---|
| solver | - LOBPCG solver instance (must have operators set) |
| eigenvectors | - DenseMatrix to store computed eigenvectors (columns are eigenvectors) |
Returns
void