petsc4py.PETSc.DMComposite

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

# Class DMComposite

Nested Classes | [hide private]
Inherited from `DM`: `BoundaryType`, `Type`

Instance Methods | [hide private]
a new object with type S, a subtype of T |
__new__(S, ...) |
addDM(self, DM dm, *args) Add DM to composite |
create(self, comm=None) |
gather(self, Vec gvec, imode, lvecs) Gather split local vectors into coupled global vector |
getAccess(self, Vec gvec, locs=None) Get access to specified parts of global vector. |
getEntries(self) Get tuple of sub-DMs contained in the DMComposite |
getGlobalISs(self) |
getLGMaps(self) |
getLocalISs(self) |
getNumber(self) Get number of sub-DMs contained in the DMComposite |
getNumberDM(self) Get number of sub-DMs contained in the DMComposite |
scatter(self, Vec gvec, lvecs) Scatter coupled global vector into split local vectors |
Inherited from `DM`: `clearLabelStratum`, `clearLabelValue`, `clone`, `coarsen`, `coarsenHierarchy`, `convert`, `createAggregates`, `createDefaultSF`, `createGlobalVec`, `createGlobalVector`, `createInjection`, `createInterpolation`, `createLabel`, `createLocalVec`, `createLocalVector`, `createMat`, `createMatrix`, `destroy`, `getAppCtx`, `getBlockSize`, `getCoordinateDM`, `getCoordinateSection`, `getCoordinates`, `getCoordinatesLocal`, `getDefaultGlobalSection`, `getDefaultSF`, `getDefaultSection`, `getDimension`, `getLGMap`, `getLabelIdIS`, `getLabelName`, `getLabelOutput`, `getLabelSize`, `getLabelValue`, `getMatrix`, `getNumLabels`, `getPointSF`, `getStratumIS`, `getStratumSize`, `getType`, `globalToLocal`, `hasLabel`, `localToGlobal`, `localToLocal`, `refine`, `refineHierarchy`, `removeLabel`, `setAppCtx`, `setCoordinates`, `setCoordinatesLocal`, `setDefaultGlobalSection`, `setDefaultSection`, `setDimension`, `setFromOptions`, `setLabelOutput`, `setLabelValue`, `setMatType`, `setOptionsPrefix`, `setPointSF`, `setType`, `setUp`, `setVecType`, `view` 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`, `setTabLevel`, `stateIncrease` 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__

### create(self, comm=None) |
Overrides: DM.create

### getAccess(self, Vec gvec, locs=None) |
Get access to specified parts of global vector. Use via 'with' context manager (PEP 343).