Bases: object
Contains methods for setting up and solving for the boundary eigenvalues of a PETSc matrix.
| Parameters: | mat (petsc4py.PETSc.Mat) – input matrix |
|---|---|
| Keyword Arguments: | |
|
|
| EigSolver.findEmax() | Returns the maximum Eigenvalue of the matrix, along with associated error. |
| EigSolver.findEmin() | Returns the minimum Eigenvalue of the matrix, along with associated error. |
| EigSolver.getEigSolver(*args) | Get some or all of the GraphISO properties. |
| EigSolver.setEigSolver(**kwargs) | Set some or all of the eigenvalue solver properties. |
Returns the maximum Eigenvalue of the matrix, along with associated error.
Example
>>> Emax, error = EigSolver.findEmax()
Fortran interface
This function calls the Fortran function min_max_eigs().
Returns the minimum Eigenvalue of the matrix, along with associated error.
Example
>>> Emin, error = EigSolver.findEmin()
Fortran interface
This function calls the Fortran function min_max_eigs().
Get some or all of the GraphISO properties. For the list of the properties see setEigSolver().
Set some or all of the eigenvalue solver properties.
| Keyword Arguments: | |
|---|---|
|
|
Caution
Note