a new object with type S, a subtype of T
|
|
|
appendOptionsPrefix(self,
prefix)
Appends to the prefix used for searching for all QEP options
in the database. |
|
|
|
cancelMonitor(self)
Clears all monitors for a QEP object. |
|
|
|
computeRelativeError(self,
int i)
Computes the relative error bound associated with the i-th
computed eigenpair. |
|
|
|
computeResidualNorm(self,
int i)
Computes the norm of the residual vector associated with the
i-th computed eigenpair. |
|
|
|
create(self,
comm=None)
Creates the QEP object. |
|
|
|
destroy(self)
Destroys the QEP object. |
|
|
|
|
|
|
|
getDimensions(self)
Gets the number of eigenvalues to compute and the dimension of
the subspace. |
|
|
|
getEigenpair(self,
int i,
Vec Vr=None,
Vec Vi=None)
Gets the i-th solution of the eigenproblem as computed by
solve(). |
|
|
|
getErrorEstimate(self,
int i)
Returns the error estimate associated to the i-th computed
eigenpair. |
|
|
|
getIP(self)
Obtain the inner product associated to the eigensolver. |
|
|
|
|
|
getLeftVectorsWanted(self)
Returns the flag indicating whether left eigenvectors are
required or not. |
|
|
|
getOperationCounters(self)
Gets the total number of operator applications, inner product
operations and linear iterations used by the QEP object
during the last solve() call. |
|
|
|
getOperators(self)
Gets the matrices associated with the eigenvalue problem. |
|
|
|
getOptionsPrefix(self)
Gets the prefix used for searching for all QEP options in the
database. |
|
|
|
|
|
getScaleFactor(self)
Gets the factor used for scaling the quadratic eigenproblem. |
|
|
|
getTolerances(self)
Gets the tolerance and maximum iteration count used by the
default QEP convergence tests. |
|
|
|
getTrackAll(self)
Returns the flag indicating whether all residual norms must be
computed or not. |
|
|
|
getType(self)
Gets the QEP type of this object. |
|
|
|
|
|
reset(self)
Resets the QEP object. |
|
|
|
setDimensions(self,
nev=None,
ncv=None,
mpd=None)
Sets the number of eigenvalues to compute and the dimension of
the subspace. |
|
|
|
|
|
setIP(self,
IP ip)
Associates an inner product to the eigensolver. |
|
|
|
setInitialSpace(self,
space)
Sets the initial space from which the eigensolver starts to
iterate. |
|
|
|
setInitialSpaceLeft(self,
space)
Sets the initial left space from which the solver starts to
iterate. |
|
|
|
setLeftVectorsWanted(self,
wanted)
Specifies the flag indicating whether left eigenvectors are
required or not. |
|
|
|
setOperators(self,
Mat M,
Mat C,
Mat K)
Sets the matrices associated with the eigenvalue problem. |
|
|
|
setOptionsPrefix(self,
prefix)
Sets the prefix used for searching for all QEP options in the
database. |
|
|
|
setProblemType(self,
problem_type)
Specifies the type of the eigenvalue problem. |
|
|
|
setScaleFactor(self,
alpha)
Sets the scaling factor to be used for scaling the quadratic problem
before attempting to solve. |
|
|
|
setTolerances(self,
tol=None,
max_it=None)
Sets the tolerance and maximum iteration count used by the
default QEP convergence tests. |
|
|
|
setTrackAll(self,
trackall)
Specifies if the solver must compute the residual of all
approximate eigenpairs or not. |
|
|
|
setType(self,
qep_type)
Selects the particular solver to be used in the QEP object. |
|
|
|
setUp(self)
Sets up all the internal data structures necessary for the
execution of the eigensolver. |
|
|
|
|
|
solve(self)
Solves the eigensystem. |
|
|
|
view(self,
Viewer viewer=None)
Prints the QEP 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 ,
incRef ,
query ,
setAttr ,
setName
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|