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

Class DMStag


Nested Classes [hide private]
  StencilLocation
  StencilType

Inherited from DM: BoundaryType, PolytopeType, Type

Instance Methods [hide private]
 
VecSplitToDMDA(self, Vec vec, loc, c)
a new object with type S, a subtype of T
__new__(S, ...)
 
create(self, dim, dofs=None, sizes=None, boundary_types=None, stencil_type=None, stencil_width=None, proc_sizes=None, ownership_ranges=None, comm=None, setUp=False)
 
createCompatibleDMStag(self, dofs)
 
get1dCoordinatecArrays(self)
 
getBoundaryTypes(self)
 
getCorners(self)
 
getDim(self)
 
getDof(self)
 
getEntriesPerElement(self)
 
getGhostCorners(self)
 
getGlobalSizes(self)
 
getIsFirstRank(self)
 
getIsLastRank(self)
 
getLocalSizes(self)
 
getLocationDof(self, loc)
 
getLocationSlot(self, loc, c)
 
getOwnershipRanges(self)
 
getProcSizes(self)
 
getProductCoordinateLocationSlot(self, loc)
 
getStencilType(self)
 
getStencilWidth(self)
 
getVecArray(self, Vec vec)
 
migrateVec(self, Vec vec, DM dmTo, Vec vecTo)
 
setBoundaryTypes(self, boundary_types)
 
setCoordinateDMType(self, dmtype)
 
setDof(self, dofs)
 
setGlobalSizes(self, sizes)
 
setOwnershipRanges(self, ranges)
 
setProcSizes(self, sizes)
 
setStencilType(self, stenciltype)
 
setStencilWidth(self, swidth)
 
setUniformCoordinates(self, xmin=0, xmax=1, ymin=0, ymax=1, zmin=0, zmax=1)
 
setUniformCoordinatesExplicit(self, xmin=0, xmax=1, ymin=0, ymax=1, zmin=0, zmax=1)
 
setUniformCoordinatesProduct(self, xmin=0, xmax=1, ymin=0, ymax=1, zmin=0, zmax=1)

Inherited from DM: adaptLabel, adaptMetric, addCoarsenHook, addField, appendOptionsPrefix, clearDS, clearFields, clearLabelStratum, clearLabelValue, clone, coarsen, coarsenHierarchy, convert, copyDS, copyDisc, copyFields, createDS, createDefaultSF, createFieldDecomposition, createGlobalVec, createGlobalVector, createInjection, createInterpolation, createLabel, createLocalVec, createLocalVector, createMassMatrix, createMat, createMatrix, createRestriction, createSectionSF, createSubDM, destroy, getAppCtx, getAuxiliaryVec, 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, getOptionsPrefix, getPointSF, getRefineLevel, getSection, getSectionSF, getStratumIS, getStratumSize, getType, globalToLocal, hasLabel, load, localToGlobal, localToLocal, localizeCoordinates, projectCoordinates, refine, refineHierarchy, removeLabel, restoreGlobalVec, restoreLocalVec, setAppCtx, setAuxiliaryVec, 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, viewFromOptions

Inherited from Object: __copy__, __deepcopy__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__, __nonzero__, compose, decRef, getAttr, getClassId, getClassName, getComm, getDict, getName, getRefCount, getTabLevel, incRef, incrementTabLevel, query, setAttr, setName, setTabLevel, stateGet, stateIncrease, stateSet

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  boundary_types
  corners
  dim
  dofs
  entries_per_element
  ghost_corners
  global_sizes
  local_sizes
  proc_sizes
  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, dofs=None, sizes=None, boundary_types=None, stencil_type=None, stencil_width=None, proc_sizes=None, ownership_ranges=None, comm=None, setUp=False)

 
Overrides: DM.create