[petsc-users] On MatDestroy() in Fortran
Edoardo alinovi
edoardo.alinovi at gmail.com
Sat Jul 30 12:55:31 CDT 2022
Hello petsc friends,
I have a (silly?) question about matDestroy in Fortran, cause I am not sure
I have got 100% clear what it is doing.
I am asking this question because I have the feeling that matDestroy(A,
ierr) is not returning the memory to the system, but it prevents from
memory leaks. Is that right?
If the answer is yes, how can I force petsc to return all the memory used
for A to the system?
I found this post:
https://lists.mcs.anl.gov/pipermail/petsc-users/2013-August/018466.html,
but cannot use that trick as I am not in C here.
Thanks for the help as always!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220730/bfe8896e/attachment.html>
More information about the petsc-users
mailing list