Package petsc4py :: Module PETSc :: Class SF
[hide private]
[frames] | no frames]

type SF


Nested Classes [hide private]
Type
Instance Methods [hide private]
a new object with type S, a subtype of T
__new__(S, ...)
 
bcastBegin(self, unit, ndarray rootdata, ndarray leafdata)
 
bcastEnd(self, unit, ndarray rootdata, ndarray leafdata)
 
computeDegree(self)
 
create(self, comm=None)
 
createEmbeddedLeafSF(self, selected)
 
createEmbeddedSF(self, selected)
 
createInverse(self)
 
destroy(self)
 
fetchAndOpBegin(self, unit, rootdata, leafdata, leafupdate, op)
 
fetchAndOpEnd(self, unit, rootdata, leafdata, leafupdate, op)
 
gatherBegin(self, unit, ndarray leafdata, ndarray multirootdata)
 
gatherEnd(self, unit, ndarray leafdata, ndarray multirootdata)
 
getGraph(self)
nleaves can be determined from the size of local
 
getMulti(self)
 
getType(self)
 
reduceBegin(self, unit, ndarray leafdata, ndarray rootdata, op)
 
reduceEnd(self, unit, ndarray leafdata, ndarray rootdata, op)
 
reset(self)
 
scatterBegin(self, unit, ndarray multirootdata, ndarray leafdata)
 
scatterEnd(self, unit, ndarray multirootdata, ndarray leafdata)
 
setFromOptions(self)
 
setGraph(self, nroots, local, remote)
The nleaves argument is determined from the size of local and/or remote.
 
setRankOrder(self, flag)
 
setType(self, sf_type)
 
setUp(self)
 
view(self, Viewer viewer=None)

Inherited from Object: __copy__, __deepcopy__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__, __nonzero__, compose, decRef, getAttr, getClassId, getClassName, getComm, getDict, getName, getOptionsPrefix, getRefCount, getTabLevel, incRef, incrementTabLevel, query, setAttr, setName, setOptionsPrefix, setTabLevel, stateIncrease, viewFromOptions

Properties [hide private]

Inherited from Object: classid, comm, fortran, handle, klass, name, prefix, refcount, type

Method Details [hide private]

__new__(S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: Object.__new__

destroy(self)

 
Overrides: Object.destroy

getType(self)

 
Overrides: Object.getType

setFromOptions(self)

 
Overrides: Object.setFromOptions

setGraph(self, nroots, local, remote)

 
The nleaves argument is determined from the size of local and/or remote. local may be None, meaning contiguous storage. remote should be 2*nleaves long as (rank, index) pairs.

view(self, Viewer viewer=None)

 
Overrides: Object.view