[petsc-dev] What is this even supposed to do?

2010-09-08 Thread Matthew Knepley
On Wed, Sep 8, 2010 at 3:26 PM, Barry Smith wrote: > > On Sep 8, 2010, at 4:14 AM, Jed Brown wrote: > > > "to" is uninitialized here, it can't possibly work. > > > > PetscErrorCode PETSCMAP1(VecScatterBegin)(VecScatter ctx,Vec xin,Vec > yin,InsertMode addv,ScatterMode mode) > > { > > VecScatter_

[petsc-dev] What is this even supposed to do?

2010-09-08 Thread Jed Brown
"to" is uninitialized here, it can't possibly work. PetscErrorCode PETSCMAP1(VecScatterBegin)(VecScatter ctx,Vec xin,Vec yin,InsertMode addv,ScatterMode mode) { VecScatter_MPI_General *to,*from; PetscScalar*xv,*yv,*svalues; MPI_Request*rwaits,*swaits; PetscErrorCod

[petsc-dev] What is this even supposed to do?

2010-09-08 Thread Barry Smith
On Sep 8, 2010, at 8:52 AM, Matthew Knepley wrote: > > > Mac Hg! It rocks. Did you have an installation problem? I have it. Just haven't been using it for commits. Barry > >Matt > > Yes that code is currently broken, I started in and then got distracted and > didn't finish it

[petsc-dev] What is this even supposed to do?

2010-09-08 Thread Barry Smith
On Sep 8, 2010, at 4:14 AM, Jed Brown wrote: > "to" is uninitialized here, it can't possibly work. > > PetscErrorCode PETSCMAP1(VecScatterBegin)(VecScatter ctx,Vec xin,Vec > yin,InsertMode addv,ScatterMode mode) > { > VecScatter_MPI_General *to,*from; > PetscScalar*xv,*yv,*svalues