|
a new object with type S, a subtype of T
|
|
|
|
apply(self,
Vec x,
Vec y)
Applies the spectral transformation operator to a vector, for
instance (A - sB)^-1 B in the case of the shift-and-invert
transformation and generalized eigenproblem. |
|
|
|
|
applyHermitianTranspose(self,
Vec x,
Vec y)
Applies the hermitian-transpose of the operator to a vector, for
instance B^H(A - sB)^-H in the case of the
shift-and-invert transformation and generalized eigenproblem. |
|
|
|
|
applyMat(self,
Mat x,
Mat y)
Applies the spectral transformation operator to a matrix, for
instance (A - sB)^-1 B in the case of the shift-and-invert
transformation and generalized eigenproblem. |
|
|
|
|
applyTranspose(self,
Vec x,
Vec y)
Applies the transpose of the operator to a vector, for
instance B^T(A - sB)^-T in the case of the
shift-and-invert transformation and generalized eigenproblem. |
|
|
|
|
create(self,
comm=None)
Creates the ST object. |
|
|
|
|
destroy(self)
Destroys the ST object. |
|
|
|
|
getCayleyAntishift(self)
Gets the value of the anti-shift for the Cayley spectral
transformation. |
|
|
|
|
|
|
|
|
|
|
|
|
|
getKSP(self)
Gets the KSP object associated with the spectral
transformation. |
|
|
|
|
getMatMode(self)
Gets a flag that indicates how the matrix is being shifted in
the shift-and-invert and Cayley spectral transformations. |
|
|
|
|
getMatStructure(self)
Gets the internal Mat.Structure attribute to indicate which is
the relation of the sparsity pattern of the matrices. |
|
|
|
|
getMatrices(self)
Gets the matrices associated with the eigenvalue problem. |
|
|
|
|
getOperator(self)
Returns a shell matrix that represents the operator of the
spectral transformation. |
|
|
|
|
getOptionsPrefix(self)
Gets the prefix used for searching for all ST options in the
database. |
|
|
|
|
|
|
|
getShift(self)
Gets the shift associated with the spectral transformation. |
|
|
|
|
getTransform(self)
Gets the flag indicating whether the transformed matrices
are computed or not. |
|
|
|
|
getType(self)
Gets the ST type of this object. |
|
|
|
|
reset(self)
Resets the ST object. |
|
|
|
|
restoreOperator(self,
Mat op)
Restore the previously seized operator matrix. |
|
|
|
|
setCayleyAntishift(self,
tau)
Sets the value of the anti-shift for the Cayley spectral
transformation. |
|
|
|
|
|
|
|
setFilterInterval(self,
inta,
intb)
Defines the interval containing the desired eigenvalues. |
|
|
|
|
setFilterRange(self,
left,
right)
Defines the numerical range (or field of values) of the matrix, that is,
the interval containing all eigenvalues. |
|
|
|
|
|
|
|
setKSP(self,
KSP ksp)
Sets the KSP object associated with the spectral
transformation. |
|
|
|
|
setMatMode(self,
mode)
Sets a flag to indicate how the matrix is being shifted in the
shift-and-invert and Cayley spectral transformations. |
|
|
|
|
setMatStructure(self,
structure)
Sets an internal Mat.Structure attribute to indicate which is
the relation of the sparsity pattern of the two matrices A
and B constituting the generalized eigenvalue
problem. |
|
|
|
|
setMatrices(self,
operators)
Sets the matrices associated with the eigenvalue problem. |
|
|
|
|
setOptionsPrefix(self,
prefix)
Sets the prefix used for searching for all ST options in the
database. |
|
|
|
|
|
|
|
setShift(self,
shift)
Sets the shift associated with the spectral transformation. |
|
|
|
|
setTransform(self,
flag=True)
Sets a flag to indicate whether the transformed matrices
are computed or not. |
|
|
|
|
setType(self,
st_type)
Builds ST for a particular spectral transformation. |
|
|
|
|
setUp(self)
Prepares for the use of a spectral transformation. |
|
|
|
|
view(self,
Viewer viewer=None)
Prints the ST data structure. |
|
|
|
Inherited from petsc4py.PETSc.Object:
__copy__,
__deepcopy__,
__eq__,
__ge__,
__gt__,
__le__,
__lt__,
__ne__,
__nonzero__,
appendOptionsPrefix,
compose,
decRef,
getAttr,
getClassId,
getClassName,
getComm,
getDict,
getName,
getRefCount,
getTabLevel,
incRef,
incrementTabLevel,
query,
setAttr,
setName,
setTabLevel,
stateGet,
stateIncrease,
stateSet,
viewFromOptions
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__init__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|