[petsc-users] Write/read a DMForest to/from a file

Mark Adams mfadams at lbl.gov
Thu Dec 29 14:54:37 CST 2022


Have you tried using the DMForest as you would use a DMPLex?
That should work. Forst has extra stuff but it just makes a Plex and the
end of the day.

On Tue, Dec 27, 2022 at 5:21 AM Berend van Wachem <berend.vanwachem at ovgu.de>
wrote:

> Dear Petsc-team/users,
>
> I am trying to save a DMForest which has been used for a calculation (so
> refined/coarsened in places) to a file and later read it from the file
> to continue a calculation with.
> My question is: how do I do this? I've tried a few things, such as using
> DMView and DMLoad, and saving the BaseDM, but that doesn't seem to save
> the refining/coarsening which has taken place in the initial calculation.
> I haven't been able to find any example or documentation for this. Any
> pointers or examples would be very much appreciated!
>
> Best regards, Berend.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20221229/cf77a6c8/attachment.html>


More information about the petsc-users mailing list