Home | Trees | Indices | Help |
|
---|
|
|
|||
MatMode ST matrix mode |
|||
Type ST types |
|
|||
a new object with type S, a subtype of T |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
ksp | |||
mat_mode | |||
shift | |||
Inherited from Inherited from |
|
|
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. Parameters
|
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. Parameters
|
Creates the ST object. Parameters
|
|
Gets the KSP object associated with the spectral transformation. Returns
NotesOn output, the internal value of KSP can be NULL if the combination of eigenproblem type and selected transformation does not require to solve a linear system of equations. |
Gets a flag that indicates how the matrix is being shifted in the shift-and-invert and Cayley spectral transformations. Returns
|
Gets the matrices associated with the eigenvalue problem. Returns
|
Gets the prefix used for searching for all ST options in the database. Returns
|
Gets the shift associated with the spectral transformation. Returns
|
Gets the flag indicating whether the transformed matrices are computed or not. Returns
|
Gets the ST type of this object. Returns
|
Sets the value of the anti-shift for the Cayley spectral transformation. Parameters
NotesIn the generalized Cayley transform, the operator can be
expressed as OP = inv(A - sigma B)*(A + tau B). This
function sets the value of |
Sets ST options from the options database. This routine must be called before setUp() if the user is to be allowed to set the solver type. NotesTo see all options, run your program with the -help option.
|
Sets the KSP object associated with the spectral transformation. Parameters
|
Sets a flag to indicate how the matrix is being shifted in the shift-and-invert and Cayley spectral transformations. Parameters
NotesBy default (ST.MatMode.COPY), a copy of matrix A is made and then this copy is shifted explicitly, e.g. A <- (A - s B). With ST.MatMode.INPLACE, the original matrix A is shifted at setUp() and unshifted at the end of the computations. With respect to the previous one, this mode avoids a copy of matrix A. However, a backdraw is that the recovered matrix might be slightly different from the original one (due to roundoff). With ST.MatMode.SHELL, the solver works with an implicit shell matrix that represents the shifted matrix. This mode is the most efficient in creating the shifted matrix but it places serious limitations to the linear solves performed in each iteration of the eigensolver (typically, only interative solvers with Jacobi preconditioning can be used). In the case of generalized problems, in the two first modes the matrix A - s B has to be computed explicitly. The efficiency of this computation can be controlled with setMatStructure(). |
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. This function has no effect in the case of standard eigenproblems. Parameters
NotesBy default, the sparsity patterns are assumed to be different. If the patterns are equal or a subset then it is recommended to set this attribute for efficiency reasons (in particular, for internal AXPY() matrix operations). |
Sets the matrices associated with the eigenvalue problem. Parameters
|
Sets the prefix used for searching for all ST options in the database. Parameters
NotesA hyphen (-) must NOT be given at the beginning of the prefix name. The first character of all runtime options is AUTOMATICALLY the hyphen.
|
Sets the shift associated with the spectral transformation. Parameters
NotesIn some spectral transformations, changing the shift may have associated a lot of work, for example recomputing a factorization. |
Sets a flag to indicate whether the transformed matrices are computed or not. Parameters
|
Builds ST for a particular spectral transformation. Parameters
NotesSee ST.Type for available methods. The default is ST.Type.SHIFT with a zero shift. Normally, it is best to use setFromOptions() and then set the ST type from the options database rather than by using this routine. Using the options database provides the user with maximum flexibility in evaluating the different available methods. |
Prints the ST data structure. Parameters
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun May 22 14:34:44 2016 | http://epydoc.sourceforge.net |