petsc4py.PETSc.DM

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

# Class DM

Nested Classes | [hide private]
| BoundaryType
| Type

Instance Methods | [hide private]
a new object with type S, a subtype of T |
__new__(S, ...) |
adaptLabel(self, label) |
adaptMetric(self, Vec metric, label=None) |
addCoarsenHook(self, coarsenhook, restricthook, args=None, kargs=None) |
addField(self, Object field, label=None) |
clearDS(self) |
clearLabelStratum(self, name, value) |
clearLabelValue(self, name, point, value) |
clone(self) |
coarsen(self, comm=None) |
coarsenHierarchy(self, nlevels) |
convert(self, dm_type) |
copyDS(self, DM dm) |
copyDisc(self, DM dm) |
copyFields(self, DM dm) |
create(self, comm=None) |
createDS(self) |
createDefaultSF(self, Section localsec, Section globalsec) |
createFieldDecomposition(self) |
createGlobalVec(self) |
createGlobalVector(self) |
createInjection(self, DM dm) |
createInterpolation(self, DM dm) |
createLabel(self, name) |
createLocalVec(self) |
createLocalVector(self) |
createMat(self) |
createMatrix(self) |
createRestriction(self, DM dm) |
createSectionSF(self, Section localsec, Section globalsec) |
destroy(self) |
getAppCtx(self) |
getBasicAdjacency(self) |
getBlockSize(self) |
getBoundingBox(self) |
getCoarsenLevel(self) |
getCoordinateDM(self) |
getCoordinateDim(self) |
getCoordinateSection(self) |
getCoordinates(self) |
getCoordinatesLocal(self) |
getDS(self) |
getDefaultGlobalSection(self) |
getDefaultSF(self) |
getDefaultSection(self) |
getDimension(self) |
getField(self, index) |
getFieldAdjacency(self, field) |
getGlobalSection(self) |
getGlobalVec(self) |
getLGMap(self) |
getLabel(self, name) |
getLabelIdIS(self, name) |
getLabelName(self, index) |
getLabelOutput(self, name) |
getLabelSize(self, name) |
getLabelValue(self, name, point) |
getLocalBoundingBox(self) |
getLocalVec(self) |
getMatrix(self) |
getNumFields(self) |
getNumLabels(self) |
getPointSF(self) |
getRefineLevel(self) |
getSection(self) |
getSectionSF(self) |
getStratumIS(self, name, value) |
getStratumSize(self, name, value) |
getType(self) |
globalToLocal(self, Vec vg, Vec vl, addv=None) |
hasLabel(self, name) |
localToGlobal(self, Vec vl, Vec vg, addv=None) |
localToLocal(self, Vec vl, Vec vlg, addv=None) |
localizeCoordinates(self) |
refine(self, comm=None) |
refineHierarchy(self, nlevels) |
removeLabel(self, name) |
restoreGlobalVec(self, Vec vg) |
restoreLocalVec(self, Vec vl) |
setAppCtx(self, appctx) |
setBasicAdjacency(self, useCone, useClosure) |
setCoordinateDim(self, dim) |
setCoordinates(self, Vec c) |
setCoordinatesLocal(self, Vec c) |
setDefaultGlobalSection(self, Section sec) |
setDefaultSF(self, SF sf) |
setDefaultSection(self, Section sec) |
setDimension(self, dim) |
setField(self, index, Object field, label=None) |
setFieldAdjacency(self, field, useCone, useClosure) |
setFromOptions(self) |
setGlobalSection(self, Section sec) |
setKSPComputeOperators(self, operators, args=None, kargs=None) |
setLabelOutput(self, name, output) |
setLabelValue(self, name, point, value) |
setMatType(self, mat_type) Set matrix type to be used by DM.createMat |
setNumFields(self, numFields) |
setOptionsPrefix(self, prefix) |
setPointSF(self, SF sf) |
setRefineLevel(self, level) |
setSNESFunction(self, function, args=None, kargs=None) |
setSNESJacobian(self, jacobian, args=None, kargs=None) |
setSection(self, Section sec) |
setSectionSF(self, SF sf) |
setType(self, dm_type) |
setUp(self) |
setVecType(self, vec_type) |
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`, `setTabLevel`, `stateIncrease`, `viewFromOptions` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]
| appctx
| ds
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

### setOptionsPrefix(self, prefix) |
Overrides: Object.setOptionsPrefix

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