Use PETSc reference counter for managing PETSc objects

Issue #191 resolved
Prof Garth Wells created an issue

To manage the lifetime of PETSc objects, we should use the in-built PETSc reference counting.

This will simplify some code, and it will avoid the need to copy large arrays (thereby reducing memory usage).

Comments (2)

  1. Log in to comment