petsc4py.PETSc.garbage_cleanup

petsc4py.PETSc.garbage_cleanup(comm=None)

Clean up unused PETSc objects.

Collective.

Notes

If the communicator comm if not provided or it is None, then COMM_WORLD is used.

Source code at petsc4py/PETSc/cyclicgc.pxi:39

Parameters:

comm (Comm | None)

Return type:

None