petsc4py.PETSc.IS

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

# Class IS

Nested Classes | [hide private]
| Type

Instance Methods | [hide private]
__enter__(self) |
__exit__(self, *exc) |
a new object with type S, a subtype of T |
__new__(S, ...) |
allGather(self) |
complement(self, nmin, nmax) |
copy(self, IS result=None) |
create(self, comm=None) |
createBlock(self, bsize, indices, comm=None) |
createGeneral(self, indices, comm=None) |
createStride(self, size, first=0, step=0, comm=None) |
destroy(self) |
difference(self, IS iset) |
duplicate(self) |
embed(self, IS iset, drop) |
equal(self, IS iset) |
expand(self, IS iset) |
getBlockIndices(self) |
getBlockSize(self) |
getIndices(self) |
getInfo(self) |
getLocalSize(self) |
getSize(self) |
getSizes(self) |
getStride(self) |
getType(self) |
invertPermutation(self, nlocal=None) |
isIdentity(self) |
isPermutation(self) |
isSorted(self) |
load(self, Viewer viewer) |
setBlockIndices(self, bsize, indices) |
setBlockSize(self, bs) |
setIdentity(self) |
setIndices(self, indices) |
setPermutation(self) |
setStride(self, size, first=0, step=1) |
setType(self, is_type) |
sort(self) |
sum(self, IS iset) |
toGeneral(self) |
union(self, IS iset) |
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`, `setFromOptions`, `setName`, `setOptionsPrefix`, `setTabLevel`, `stateIncrease` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]
| __array_interface__
| array
| block_size
| identity
| indices
| local_size
| permutation
| size
| sizes
| sorted
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

### view(self, Viewer viewer=None) |
Overrides: Object.view