Package petsc4py :: Module PETSc :: Class SF

[hide private]
[frames] | no frames]

# Class 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, op) |

bcastEnd(self, unit, ndarray rootdata, ndarray leafdata, op) |

computeDegree(self) |

create(self, comm=None) |

createEmbeddedLeafSF(self, selected) |

createEmbeddedRootSF(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`

Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]

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

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