Skip to content

Commit 2cf30db

Browse files
dhamconnorjward
andcommitted
Update firedrake/cython/dmcommon.pyx
Co-authored-by: Connor Ward <c.ward20@imperial.ac.uk>
1 parent c4d64e6 commit 2cf30db

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

firedrake/cython/dmcommon.pyx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2147,10 +2147,6 @@ def mark_entity_classes_using_cell_dm(PETSc.DM swarm):
21472147
for ilabel, op2class in enumerate([b"pyop2_core", b"pyop2_owned", b"pyop2_ghost"]):
21482148
CHKERR(DMCreateLabel(swarm.dm, op2class))
21492149
CHKERR(DMGetLabel(swarm.dm, op2class, &swarm_labels[ilabel]))
2150-
# pycellid = <bytes> swarm.getCellDMActive().getCellID()
2151-
# cdef char*pycellid = <bytes> swarm.getCellDMActive().getCellID()
2152-
# swarmParentCells = swarm.getField(pycellid)
2153-
21542150
CHKERR(DMSwarmGetCellDMActive(swarm.dm, &celldm))
21552151
CHKERR(DMSwarmCellDMGetCellID(celldm, &cellid))
21562152
CHKERR(DMSwarmGetField(swarm.dm, cellid, &blocksize, &ctype, <void**> &swarmParentCells))

0 commit comments

Comments
 (0)