petsc4py.PETSc.CellDM#
- class petsc4py.PETSc.CellDM#
Bases:
Object
CellDM object.
See also
Methods Summary
create
(dm, fields, coords)Create the cell DM.
destroy
()Destroy the cell DM.
getBlockSize
(sw)Return the block size for this cell DM.
Return the cellid field for this cell DM.
Return the swarm fields used as coordinates on this cell DM.
getDM
()Return the underlying DM.
Return the swarm fields defined on this cell DM.
view
([viewer])View the cell DM.
Methods Documentation
- create(dm, fields, coords)#
Create the cell DM.
Collective.
- Parameters:
- Return type:
See also
- destroy()#
Destroy the cell DM.
Collective.
See also
Source code at petsc4py/PETSc/DMSwarm.pyx:1108
- Return type:
- getBlockSize(sw)#
Return the block size for this cell DM.
Not collective.
See also
- getCellID()#
Return the cellid field for this cell DM.
Not collective.
See also
Source code at petsc4py/PETSc/DMSwarm.pyx:1181
- Return type:
- getCoordinateFields()#
Return the swarm fields used as coordinates on this cell DM.
Not collective.
See also
- getDM()#
Return the underlying DM.
Not collective.
See also
Source code at petsc4py/PETSc/DMSwarm.pyx:1164
- Return type:
- getFields()#
Return the swarm fields defined on this cell DM.
Not collective.
See also