The man page for ISGetIndices says "The user should NOT change the indices."  
But in this example

http://www-unix.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/src/dm/ao/examples/tutorials/ex2.c.html

around line 507 you do change indices you get from ISGetIndices.  I'm trying to 
adapt this example to my own needs and am wondering if this may be causing me 
problems.  In particular I go through this section of code twice (to partition 
two chunks of data) and the second time the ISCreateBlock makes a segfault.

Thanks,

Andrew

---
Andrew T. Barker
andrew.barker at colorado.edu
Applied Math Department
University of Colorado, Boulder
526 UCB, Boulder, CO 80309-0526




Reply via email to