There is a modified release note coming up:
which explains it in the following way:
PETSc object memory management {#petsc-mem}
Main Contributors: Umberto Villa, Jack Hale and Garth N. Wells
Removal of dolfinx.fem.Function.vector
To avoid extra MPI communicator duplication when re-using the underlying dolfinx.la.Vector
the PETSc.Vec
wrapper in DOLFINx now lives in dolfinx.fem.Function.x.petsc_vec
.
Note on memory management
A note on the memory management of all PETSc objects created with DOLFINx has been added to relevant functions.
Relevant pull requests
- Associate PETsc vector with
dolfinx.la.Vector
: DOLFINx #3092 - Note on memory management: DOLFINx #3329
- Remove deprecated method: DOLFINx #3435