Re: [petsc-users] indices into Vec/Mat associated to a DMPlex

2017-11-15 Thread Matthew Knepley
On Wed, Nov 15, 2017 at 6:09 AM, Matteo Semplice wrote: > On 15/11/2017 11:39, Matthew Knepley wrote: > > On Wed, Nov 15, 2017 at 3:11 AM, Matteo Semplice > wrote: > >> Hi. >> >> I am struggling with indices into matrices associated to a

Re: [petsc-users] indices into Vec/Mat associated to a DMPlex

2017-11-15 Thread Matteo Semplice
On 15/11/2017 11:39, Matthew Knepley wrote: On Wed, Nov 15, 2017 at 3:11 AM, Matteo Semplice > wrote: Hi. I am struggling with indices into matrices associated to a DMPLex mesh. I can explain my problem to the following

Re: [petsc-users] indices into Vec/Mat associated to a DMPlex

2017-11-15 Thread Matthew Knepley
On Wed, Nov 15, 2017 at 3:11 AM, Matteo Semplice wrote: > Hi. > > I am struggling with indices into matrices associated to a DMPLex mesh. I > can explain my problem to the following minimal example. > > Let's say I want to assemble the matrix to solve an equation (say