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

Class DMSwarm


Nested Classes [hide private]
  CollectType
  MigrateType
  PICLayoutType
  Type

Inherited from DM: BoundaryType, PolytopeType

Instance Methods [hide private]
a new object with type S, a subtype of T
__new__(S, ...)
 
addNPoints(self, npoints)
 
addPoint(self)
 
collectViewCreate(self)
 
collectViewDestroy(self)
 
copyPoint(self, pi, pj)
 
create(self, comm=None)
 
createGlobalVectorFromField(self, fieldname)
 
createLocalVectorFromField(self, fieldname)
 
destroyGlobalVectorFromField(self, fieldname)
 
destroyLocalVectorFromField(self, fieldname)
 
finalizeFieldRegister(self)
 
getCellDM(self)
 
getField(self, fieldname)
 
getLocalSize(self)
 
getSize(self)
 
initializeFieldRegister(self)
 
insertPointUsingCellDM(self, layoutType, fill_param)
 
migrate(self, remove_sent_points=False)
 
projectFields(self, fieldnames, reuse=False)
 
registerField(self, fieldname, blocksize, dtype=ScalarType)
 
removePoint(self)
 
removePointAtIndex(self, index)
 
restoreField(self, fieldname)
 
setCellDM(self, DM dm)
 
setLocalSizes(self, nlocal, buffer)
 
setPointCoordinates(self, coordinates, redundant=False, mode=None)
 
setPointCoordinatesCellwise(self, coordinates)
 
setPointsUniformCoordinates(self, min, max, npoints, mode=None)
 
setType(self, dmswarm_type)
 
sortGetAccess(self)
 
sortGetIsValid(self)
 
sortGetNumberOfPointsPerCell(self, e)
 
sortGetPointsPerCell(self, e)
 
sortGetSizes(self)
 
sortRestoreAccess(self)
 
vectorDefineField(self, fieldname)
 
viewFieldsXDMF(self, filename, fieldnames)
 
viewXDMF(self, filename)

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, 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, 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]

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, comm=None)

 
Overrides: DM.create

getField(self, fieldname)

 
Overrides: DM.getField

setType(self, dmswarm_type)

 
Overrides: DM.setType