Re: [petsc-users] Insertion mode for Scatter

2025-06-15 Thread SCOTTO Alexandre via petsc-users
reasonably efficient. Regards, Alexandre. De : Pierre Jolivet Envoyé : vendredi 13 juin 2025 11:59 À : SCOTTO Alexandre Cc : petsc-users@mcs.anl.gov Objet : Re: [petsc-users] Insertion mode for Scatter Please always keep the list in copy. On 13 Jun 2025, at 11:55 AM, SCOTTO Alexandre

Re: [petsc-users] Insertion mode for Scatter

2025-06-13 Thread Pierre Jolivet
y to go. Thanks, Pierre > Best regards, > Alexandre. > > > De : Pierre Jolivet > Envoyé : vendredi 13 juin 2025 11:43 > À : SCOTTO Alexandre > Cc : petsc-users@mcs.anl.gov > Objet : Re: [petsc-users] Insertion mode for Scatter > > > > > On 13

Re: [petsc-users] Insertion mode for Scatter

2025-06-13 Thread Pierre Jolivet
> On 13 Jun 2025, at 11:32 AM, SCOTTO Alexandre via petsc-users > wrote: > > Dear PETSc community, > > I am currently struggling with the ADD_VALUE mode of the Scatter object. Here > is a simple piece of (Python) code to illustrate the issue: > > vec_1 = PETSc.Vec().createMPI(size=10) > v

[petsc-users] Insertion mode for Scatter

2025-06-13 Thread SCOTTO Alexandre via petsc-users
Dear PETSc community, I am currently struggling with the ADD_VALUE mode of the Scatter object. Here is a simple piece of (Python) code to illustrate the issue: vec_1 = PETSc.Vec().createMPI(size=10) vec_1.shift(2.0) vec_2 = PETSc.Vec().createMPI(size=10) vec_2.shift(1.0) index_set = PETSc.IS()