Re: [petsc-users] Inverse local to global mapping?

2016-02-16 Thread Jed Brown
Florian Lindner writes: > Hello, > > I want to build a global vector (and matrix) from local data. The local data > has a global index, which can be non-contiguous i.e. global index (0, 5, 2) > is on rank 0, (1, 4, 3) is on rank 1. To keep all local data on the local >

[petsc-users] Inverse local to global mapping?

2016-02-16 Thread Florian Lindner
Hello, I want to build a global vector (and matrix) from local data. The local data has a global index, which can be non-contiguous i.e. global index (0, 5, 2) is on rank 0, (1, 4, 3) is on rank 1. To keep all local data on the local part of vector I need a mapping: Application -> PETSc (0,