a new object with type S, a subtype of T
|
|
|
appendOptionsPrefix(self,
prefix)
Appends to the prefix used for searching for all NEP options
in the database. |
|
|
|
cancelMonitor(self)
Clears all monitors for a NEP object. |
|
|
|
computeError(self,
int i,
etype=None)
Computes the error (based on the residual norm) associated with the i-th
computed eigenpair. |
|
|
|
create(self,
comm=None)
Creates the NEP object. |
|
|
|
destroy(self)
Destroys the NEP object. |
|
|
|
getBV(self)
Obtain the basis vectors object associated to the eigensolver. |
|
|
|
|
|
|
|
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. |
|
|
|
|
|
|
|
getOptionsPrefix(self)
Gets the prefix used for searching for all NEP options in the
database. |
|
|
|
getTolerances(self)
Gets the tolerance and maximum iteration count used by the
default NEP convergence tests. |
|
|
|
getTrackAll(self)
Returns the flag indicating whether all residual norms must be
computed or not. |
|
|
|
getType(self)
Gets the NEP type of this object. |
|
|
|
|
|
reset(self)
Resets the NEP object. |
|
|
|
setBV(self,
BV bv)
Associates a basis vectors object to the eigensolver. |
|
|
|
setDimensions(self,
nev=None,
ncv=None,
mpd=None)
Sets the number of eigenvalues to compute and the dimension of
the subspace. |
|
|
|
|
|
setFunction(self,
function,
Mat F,
Mat P=None,
args=None,
kargs=None)
Sets the function to compute the nonlinear Function T(lambda)
as well as the location to store the matrix. |
|
|
|
setInitialSpace(self,
space)
Sets the initial space from which the eigensolver starts to
iterate. |
|
|
|
setJacobian(self,
jacobian,
Mat J,
args=None,
kargs=None)
Sets the function to compute Jacobian T'(lambda) as well
as the location to store the matrix. |
|
|
|
setLagPreconditioner(self,
lag)
Determines when the preconditioner is rebuilt in the
nonlinear solve. |
|
|
|
setOptionsPrefix(self,
prefix)
Sets the prefix used for searching for all NEP options in the
database. |
|
|
|
setSplitOperator(self,
A,
f,
structure=None)
Sets the operator of the nonlinear eigenvalue problem
in split form. |
|
|
|
setTolerances(self,
abstol=None,
rtol=None,
stol=None,
maxit=None,
maxf=None)
Sets various parameters used in convergence tests. |
|
|
|
setTrackAll(self,
trackall)
Specifies if the solver must compute the residual of all
approximate eigenpairs or not. |
|
|
|
setType(self,
nep_type)
Selects the particular solver to be used in the NEP 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 NEP 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
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|