[petsc-users] Seg fault when trying to access the graph of pointSF from DMPlexDistribute

Matthew Knepley knepley at gmail.com
Wed Apr 8 18:05:00 CDT 2015


On Wed, Apr 8, 2015 at 5:47 PM, Ataollah Mesgarnejad <amesga1 at tigers.lsu.edu
> wrote:

> Dear all,
>
> I get a weird segmentation fault when I try to access the arrays of
> PetscInt and PetscSFNode from are the graph of the pointSF that
> DMPlexDistribute returns. I'm attaching a small test that can show the
> problem. You can run with:
>

The leaves can be NULL if it is a contiguous array covering all indices.
You can see that the Plex code checks for this.

  Thanks,

    Matt


> testPointSF -i TwoTri.gen
>
> As always thank you for your help,
> Ata
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150408/687d287c/attachment.html>


More information about the petsc-users mailing list