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
tranformation 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 tranformation and generalized eigenproblem. |
|
|
|
create(self,
comm=None)
Creates the ST object. |
|
|
|
destroy(self)
Destroys the ST object. |
|
|
|
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. |
|
|
|
getMatrices(self)
Gets the matrices associated with the eigenvalue problem. |
|
|
|
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. |
|
|
|
setCayleyAntishift(self,
tau)
Sets the value of the anti-shift for the Cayley spectral
transformation. |
|
|
|
|
|
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)
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__ ,
compose ,
decRef ,
getAttr ,
getClassId ,
getClassName ,
getComm ,
getDict ,
getName ,
getRefCount ,
getTabLevel ,
incRef ,
incrementTabLevel ,
query ,
setAttr ,
setName ,
setTabLevel ,
stateIncrease ,
viewFromOptions
|