[petsc-users] Fortran DMLoad bindings
Pierre Jolivet
pierre at joliv.et
Fri Nov 25 12:05:25 CST 2022
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 <mfadams at 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 <narnoldm at umich.edu <mailto:narnoldm at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20221125/4684ced8/attachment.html>
More information about the petsc-users
mailing list