a new object with type S, a subtype of T
|
|
|
allocate(self,
ld)
Allocates memory for internal storage or matrices in DS. |
|
|
|
cond(self)
Compute the inf-norm condition number of the first matrix. |
|
|
|
create(self,
comm=None)
Creates the DS object. |
|
|
|
destroy(self)
Destroys the DS object. |
|
|
|
duplicate(self)
Duplicate the DS object with the same type and dimensions. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getMat(self,
matname)
Returns the requested matrix as a sequential dense Mat object. |
|
|
|
getMethod(self)
Gets the method currently used in the DS. |
|
|
|
getOptionsPrefix(self)
Gets the prefix used for searching for all DS options in the
database. |
|
|
|
|
|
|
|
getParallel(self)
Gets the mode of operation in parallel runs. |
|
|
|
|
|
|
|
getState(self)
Returns the current state. |
|
|
|
getType(self)
Gets the DS type of this object. |
|
|
|
reset(self)
Resets the DS object. |
|
|
|
restoreMat(self,
matname,
Mat mat)
Restore the previously seized matrix. |
|
|
|
|
|
setCompact(self,
comp)
Switch to compact storage of matrices. |
|
|
|
setDimensions(self,
n=None,
l=None,
k=None)
Resize the matrices in the DS object. |
|
|
|
setExtraRow(self,
ext)
Sets a flag to indicate that the matrix has one extra row. |
|
|
|
|
|
|
|
setIdentity(self,
matname)
Copy the identity on the active part of a matrix. |
|
|
|
setMethod(self,
meth)
Selects the method to be used to solve the problem. |
|
|
|
setOptionsPrefix(self,
prefix)
Sets the prefix used for searching for all DS options in the
database. |
|
|
|
|
|
|
|
setParallel(self,
pmode)
Selects the mode of operation in parallel runs. |
|
|
|
setRefined(self,
ref)
Sets a flag to indicate that refined vectors must be computed. |
|
|
|
|
|
setState(self,
state)
Change the state of the DS object. |
|
|
|
setType(self,
ds_type)
Selects the type for the DS object. |
|
|
|
truncate(self,
n,
trim=False)
Truncates the system represented in the DS object. |
|
|
|
updateExtraRow(self)
Performs all necessary operations so that the extra
row gets up-to-date after a call to solve() . |
|
|
|
view(self,
Viewer viewer=None)
Prints the DS 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__
|