petsc4py.PETSc.DMDA

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

# Class DMDA

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

Instance Methods | [hide private]
a new object with type S, a subtype of T |
__new__(S, ...) |
create(self, dim=None, dof=None, sizes=None, proc_sizes=None, boundary_type=None, stencil_type=None, stencil_width=None, bool setup=True, ownership_ranges=None, comm=None) |
createNaturalVec(self) |
createNaturalVector(self) |
duplicate(self, dof=None, boundary_type=None, stencil_type=None, stencil_width=None) |
getAO(self) |
getBoundaryType(self) |
getCoordinateName(self, index) |
getCorners(self) |
getDim(self) |
getDof(self) |
getElementType(self) |
getElements(self, elem_type=None) |
getFieldName(self, field) |
getGhostCorners(self) |
getGhostRanges(self) |
getInterpolationType(self) |
getOwnershipRanges(self) |
getProcSizes(self) |
getRanges(self) |
getRefinementFactor(self) |
getScatter(self) |
getSizes(self) |
getStencil(self) |
getStencilType(self) |
getStencilWidth(self) |
getVecArray(self, Vec vec) |
globalToNatural(self, Vec vg, Vec vn, addv=None) |
naturalToGlobal(self, Vec vn, Vec vg, addv=None) |
setBoundaryType(self, boundary_type) |
setCoordinateName(self, index, name) |
setDim(self, dim) |
setDof(self, dof) |
setElementType(self, elem_type) |
setFieldName(self, field, name) |
setInterpolationType(self, interp_type) |
setProcSizes(self, proc_sizes) |
setRefinementFactor(self, refine_x=2, refine_y=2, refine_z=2) |
setSizes(self, sizes) |
setStencil(self, stencil_type, stencil_width) |
setStencilType(self, stencil_type) |
setStencilWidth(self, stencil_width) |
setUniformCoordinates(self, xmin=0, xmax=1, ymin=0, ymax=1, zmin=0, zmax=1) |
Inherited from `DM`: `adaptLabel`, `adaptMetric`, `addCoarsenHook`, `addField`, `clearDS`, `clearLabelStratum`, `clearLabelValue`, `clone`, `coarsen`, `coarsenHierarchy`, `convert`, `copyDS`, `copyDisc`, `copyFields`, `createDS`, `createDefaultSF`, `createFieldDecomposition`, `createGlobalVec`, `createGlobalVector`, `createInjection`, `createInterpolation`, `createLabel`, `createLocalVec`, `createLocalVector`, `createMat`, `createMatrix`, `createRestriction`, `createSectionSF`, `destroy`, `getAppCtx`, `getBasicAdjacency`, `getBlockSize`, `getBoundingBox`, `getCoarsenLevel`, `getCoordinateDM`, `getCoordinateDim`, `getCoordinateSection`, `getCoordinates`, `getCoordinatesLocal`, `getDS`, `getDefaultGlobalSection`, `getDefaultSF`, `getDefaultSection`, `getDimension`, `getField`, `getFieldAdjacency`, `getGlobalSection`, `getGlobalVec`, `getLGMap`, `getLabel`, `getLabelIdIS`, `getLabelName`, `getLabelOutput`, `getLabelSize`, `getLabelValue`, `getLocalBoundingBox`, `getLocalVec`, `getMatrix`, `getNumFields`, `getNumLabels`, `getPointSF`, `getRefineLevel`, `getSection`, `getSectionSF`, `getStratumIS`, `getStratumSize`, `getType`, `globalToLocal`, `hasLabel`, `localToGlobal`, `localToLocal`, `localizeCoordinates`, `refine`, `refineHierarchy`, `removeLabel`, `restoreGlobalVec`, `restoreLocalVec`, `setAppCtx`, `setBasicAdjacency`, `setCoordinateDim`, `setCoordinates`, `setCoordinatesLocal`, `setDefaultGlobalSection`, `setDefaultSF`, `setDefaultSection`, `setDimension`, `setField`, `setFieldAdjacency`, `setFromOptions`, `setGlobalSection`, `setKSPComputeOperators`, `setLabelOutput`, `setLabelValue`, `setMatType`, `setNumFields`, `setOptionsPrefix`, `setPointSF`, `setRefineLevel`, `setSNESFunction`, `setSNESJacobian`, `setSection`, `setSectionSF`, `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`, `viewFromOptions` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]
| boundary_type
| corners
| dim
| dof
| ghost_corners
| ghost_ranges
| proc_sizes
| ranges
| sizes
| stencil
| stencil_type
| stencil_width
Inherited from `DM`: `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__

### create(self, dim=None, dof=None, sizes=None, proc_sizes=None, boundary_type=None, stencil_type=None, stencil_width=None, bool setup=True, ownership_ranges=None, comm=None) |
Overrides: DM.create