Re: [petsc-users] Element connectivity of a DMPlex

2025-06-18 Thread Matthew Knepley
On Wed, Jun 18, 2025 at 6:49 PM Noam T. wrote: > See image attached. > Connectivity of the top mesh (first order triangle), can be obtained with > the code shared before. > Connectivity of the bottom mesh (second order triangle) is what I would > be interested in obtaining. > > However, given yo

Re: [petsc-users] Element connectivity of a DMPlex

2025-06-18 Thread Noam T. via petsc-users
See image attached. Connectivity of the top mesh (first order triangle), can be obtained with the code shared before. Connectivity of the bottom mesh (second order triangle) is what I would be interested in obtaining. However, given your clarification on what the Plex and the PetscSection handle

Re: [petsc-users] Problem with composite DM index sets

2025-06-18 Thread Randall Mackie
Follow up: running with valgrind shows the following issues….is this a bug in PETSc? ==5216== Use of uninitialised value of size 8 ==5216==at 0x49ED69C: f90array1dcreatefortranaddr_ (f90_fwrap.F90:52) ==5216==by 0x4D7EA94: F90Array1dCreate (f90_cwrap.c:140) ==5216==by 0x6B7295A: dmcom