[petsc-dev] PetscSF in Fortran

Adrian Croucher a.croucher at auckland.ac.nz
Wed Sep 27 23:12:48 CDT 2017


On 28/09/17 15:34, Adrian Croucher wrote:
> So I think I will need to use PetscSFSetGraph() after all, so I can 
> increase the number of roots, update the leaf point indices, and also 
> update the remote root index for each leaf (presumably I can use the 
> original SF and PetscSFBcastBegin/ PetscSFBcastEnd to do that).
> If you agree, then I will need working Fortran interfaces to the 
> PetscSFGetGraph/ PetscSFSetGraph functions, which are missing at 
> present. Are you able to add those easily?

It looks like the Fortran interfaces for PetscSFBcastBegin/ 
PetscSFBcastEnd are missing as well. I would need those to make this work.

- Adrian

Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: a.croucher at auckland.ac.nz
tel: +64 (0)9 923 4611

More information about the petsc-dev mailing list