[petsc-users] Fortran DMLoad bindings
Nicholas Arnold-Medabalimi
narnoldm at umich.edu
Fri Nov 25 13:05:27 CST 2022
Hi
Thank you so much for the response and assistance. I appreciate it.
Sincerely
Nicholas
On Fri, Nov 25, 2022 at 1:44 PM Barry Smith <bsmith at petsc.dev> wrote:
>
> The branch is now available for you to use DMLoad() from Fortran
>
>
> On Nov 25, 2022, at 1:34 PM, Barry Smith <bsmith at petsc.dev> wrote:
>
>
> Nicholas
>
> I will add the Fortran stubs for these two functions shortly in the git
> branch *barry/2022-11-25/add-dm-view-load-fortran/release*
>
> Barry
>
>
> On Nov 25, 2022, at 1:05 PM, Pierre Jolivet <pierre at joliv.et> wrote:
>
> 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> 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
>>
>
>
>
>
--
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/602c6867/attachment-0001.html>
More information about the petsc-users
mailing list