Re: [petsc-users] When to destroy an IS?

2016-02-24 Thread Matthew Knepley
On Wed, Feb 24, 2016 at 9:58 AM, Florian Lindner wrote: > Hello, > > I create a couple of index sets: > > ISLocalToGlobalMapping _ISmapping; > IS ISlocal, ISlocalInv, ISglobal, ISidentity, ISidentityGlobal; > ISLocalToGlobalMapping ISidentityMapping; > > // Create an

[petsc-users] When to destroy an IS?

2016-02-24 Thread Florian Lindner
Hello, I create a couple of index sets: ISLocalToGlobalMapping _ISmapping; IS ISlocal, ISlocalInv, ISglobal, ISidentity, ISidentityGlobal; ISLocalToGlobalMapping ISidentityMapping; // Create an index set which maps myIndizes to continous chunks of matrix rows. ierr =