[petsc-users] DMView and DMLoad

Lawrence Mitchell wence at gmx.li
Mon Sep 20 08:38:29 CDT 2021


Dear Sergio,

(Added petsc-users back to cc),

> On 20 Sep 2021, at 14:08, sergio.bengoechea at ovgu.de wrote:
> 
> Dear Lawrence,
> 
> thanks for the HDF5 saving and loading example.
> 
> In the documentation you sent (https://petsc.org/main/docs/manual/dmplex/#saving-and-loading-data-with-hdf5) the link to a more comprehensive example (DMPlex Tutorial ex12) is not working.

Hmm, I'm not in charge of how the documentation gets built.

@Patrick, if I look here: https://petsc.org/main/src/dm/impls/plex/tutorials/, I don't see ex12.c (even though it is here https://gitlab.com/petsc/petsc/-/tree/main/src/dm/impls/plex/tutorials)

The relevant link in the docs goes to https://petsc.org/main/docs/src/dm/impls/plex/tutorials/ex12.c.html (which is 404), I suppose it should be main/src/... (not main/docs/src...)

> I am afraid I would need to see the whole example to make our case work. If I could have access the completed source code of that example would be of a great help.

You can find the relevant example in the PETSc source tree https://gitlab.com/petsc/petsc/-/blob/main/src/dm/impls/plex/tutorials/ex12.c

Lawrence


More information about the petsc-users mailing list