Destroy PETSc objects created internally.
(self)
| 1353 | return self.u |
| 1354 | |
| 1355 | def __del__(self): |
| 1356 | """Destroy PETSc objects created internally.""" |
| 1357 | for obj in filter( |
| 1358 | lambda obj: obj is not None, (self._snes, self._A, self._b, self._x, self._P_mat) |
| 1359 | ): |
| 1360 | obj.destroy() |
| 1361 | |
| 1362 | @property |
| 1363 | def F(self) -> Form | Sequence[Form]: |
nothing calls this directly
no outgoing calls
no test coverage detected