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

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

getLocalBoundingBox(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`: `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]

| boundary_type
| corners
| dim
| dof
| ghost_corners
| ghost_ranges
| proc_sizes
| ranges
| sizes
| stencil
| stencil_type
| stencil_width
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