|
a new object with type S, a subtype of T
|
|
|
|
allocate(self,
ld)
Allocates memory for internal storage or matrices in DS. |
|
|
|
|
create(self,
comm=None)
Creates the DS object. |
|
|
|
|
destroy(self)
Destroys the DS object. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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. |
|
|
|
|
|
|
|
getState(self)
Returns the current state. |
|
|
|
|
getType(self)
Gets the DS type of this object. |
|
|
|
|
reset(self)
Resets the DS object. |
|
|
|
|
setCompact(self,
comp)
Switch to compact storage of matrices. |
|
|
|
|
setDimensions(self,
n=None,
m=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. |
|
|
|
|
|
|
|
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. |
|
|
|
|
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)
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__,
compose,
decRef,
getAttr,
getClassId,
getClassName,
getComm,
getDict,
getName,
getRefCount,
getTabLevel,
incRef,
incrementTabLevel,
query,
setAttr,
setName,
setTabLevel,
stateIncrease,
viewFromOptions
|