slepc4py.SLEPc.Util#

class slepc4py.SLEPc.Util#

Bases: object

Util.

Methods Summary

createMatBSE(R, C)

Create a matrix that can be used to define a BSE type problem.

createMatHamiltonian(A, B, C)

Create matrix to be used for a structured Hamiltonian eigenproblem.

Methods Documentation

classmethod createMatBSE(R, C)#

Create a matrix that can be used to define a BSE type problem.

Collective.

Create a matrix that can be used to define a structured eigenvalue problem of type BSE (Bethe-Salpeter Equation).

Parameters:
Returns:

The matrix with the block form \(H = [ R\; C; {-C}^H\; {-R}^T ]\).

Return type:

petsc4py.PETSc.Mat

Source code at slepc4py/SLEPc/Util.pyx:6

classmethod createMatHamiltonian(A, B, C)#

Create matrix to be used for a structured Hamiltonian eigenproblem.

Collective.

Parameters:
Returns:

The matrix with the block form \(H = [ A B; C -A^* ]\).

Return type:

petsc4py.PETSc.Mat

Source code at slepc4py/SLEPc/Util.pyx:32