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, ...) |

clearLabelStratum(self, name, value) |

clearLabelValue(self, name, point, value) |

clone(self) |

coarsen(self, comm=None) |

coarsenHierarchy(self, nlevels) |

convert(self, dm_type) |

create(self, comm=None) |

createAggregates(self, DM dm) |

createDefaultSF(self, Section localsec, Section globalsec) |

createGlobalVec(self) |

createGlobalVector(self) |

createInjection(self, DM dm) |

createInterpolation(self, DM dm) |

createLabel(self, name) |

createLocalVec(self) |

createLocalVector(self) |

createMat(self) |

createMatrix(self) |

destroy(self) |

getAppCtx(self) |

getBlockSize(self) |

getCoordinateDM(self) |

getCoordinateSection(self) |

getCoordinates(self) |

getCoordinatesLocal(self) |

getDefaultGlobalSection(self) |

getDefaultSF(self) |

getDefaultSection(self) |

getDimension(self) |

getLGMap(self) |

getLabelIdIS(self, name) |

getLabelName(self, index) |

getLabelOutput(self, name) |

getLabelSize(self, name) |

getLabelValue(self, name, point) |

getMatrix(self) |

getNumLabels(self) |

getPointSF(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) |

refine(self, comm=None) |

refineHierarchy(self, nlevels) |

removeLabel(self, name) |

setAppCtx(self, appctx) |

setCoordinates(self, Vec c) |

setCoordinatesLocal(self, Vec c) |

setDefaultGlobalSection(self, Section sec) |

setDefaultSection(self, Section sec) |

setDimension(self, dim) |

setFromOptions(self) |

setLabelOutput(self, name, output) |

setLabelValue(self, name, point, value) |

setMatType(self, mat_type) Set matrix type to be used by DM.createMat |

setOptionsPrefix(self, prefix) |

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

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

### setOptionsPrefix(self, prefix)

Overrides: Object.setOptionsPrefix

### view(self, Viewer viewer=None)

Overrides: Object.view