Re: [petsc-users] Is xout always already zero'ed when being called back on PCShellSetApply ?

2017-05-22 Thread Franck Houssen
OK, thanks. Franck - Mail original - > De: "Matthew Knepley" > À: "Franck Houssen" > Cc: "PETSc" , "PETSc" > Envoyé: Dimanche 21 Mai 2017 18:41:10 > Objet: Re: [petsc-users] Is xout always already zero'ed when being call

Re: [petsc-users] Is xout always already zero'ed when being called back on PCShellSetApply ?

2017-05-21 Thread Matthew Knepley
On Sun, May 21, 2017 at 11:11 AM, Franck Houssen wrote: > When using http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PC/ > PCShellSetApply.html, do I have the guaranty that xout from " > PetscErrorCode >

[petsc-users] Is xout always already zero'ed when being called back on PCShellSetApply ?

2017-05-21 Thread Franck Houssen
When using http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PC/PCShellSetApply.html, do I have the guaranty that xout from " PetscErrorCode apply ( PC pc, Vec xin, Vec xout)" has always been previously filled with zeros ? I may have to fill xout by blocks (I would += several possibly