That example has no DMLoad(), and the interface is indeed not automatically generated https://gitlab.com/petsc/petsc/-/blob/main/src/dm/interface/dm.c#L4075 I’m not sure why, though.
Thanks, Pierre > On 25 Nov 2022, at 6:42 PM, Mark Adams <mfad...@lbl.gov> wrote: > > It looks like it is available with an example here: > > https://petsc.org/main/src/dm/impls/plex/tutorials/ex3f90.F90.html > > Try 'cd src/dm/impls/plex/tutorials; make ex3f90' > > Mark > > > > > On Fri, Nov 25, 2022 at 6:32 AM Nicholas Arnold-Medabalimi > <narno...@umich.edu <mailto:narno...@umich.edu>> wrote: >> Good Morning >> >> I am adding some Petsc for mesh management into an existing Fortran Solver. >> I'd like to use the DMLoad() function to read in a generated DMPlex (using >> DMView from a companion C code I've been using to debug). It appears there >> isn't an existing binding for that function (or I might be making a >> mistake.) >> >> I noticed some outdated user posts about using the more general >> PetscObjectView to achieve the result, but I can't seem to replicate it (and >> it might be outdated information). >> >> Any assistance on this would be appreciated. >> >> Happy Thanksgiving & Sincerely >> Nicholas >> >> -- >> Nicholas Arnold-Medabalimi >> >> Ph.D. Candidate >> Computational Aeroscience Lab >> University of Michigan