[petsc-users] DMView and DMLoad

Pierre Jolivet pierre at joliv.et
Mon Sep 20 08:43:49 CDT 2021



> On 20 Sep 2021, at 3:38 PM, Lawrence Mitchell <wence at gmx.li> wrote:
> 
> 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)

It needs to be added to EXAMPLESC in src/dm/impls/plex/tutorials/makefile
By the way, none of the “Actual source code: XYZ.c” are working anymore (not specific to DMPlex and/or tutorials), e.g., https://petsc.org/main/src/dm/impls/plex/tutorials/ex1.c.html <https://petsc.org/main/src/dm/impls/plex/tutorials/ex1.c.html> Actual source code: ex1.c redirects to the same eye-candy/filtered .html instead of the raw/unfiltered .c

Thanks,
Pierre

> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20210920/7292f5f8/attachment-0001.html>


More information about the petsc-users mailing list