lain this behaviour that
> would help me better understand how to properly use PETSc!
> > Regards,
> > Alexandre.
> > De : Matthew Knepley
> > Envoyé : mardi 15 juillet 2025 14:18
> > À : SCOTTO Alexandre
> > Cc : Jose E. Roman ; petsc-users@mcs.anl.gov
>
16:06
À : Jose E. Roman
Cc : SCOTTO Alexandre ;
petsc-users@mcs.anl.gov
Objet : Re: [petsc-users] When to perform PETSc.Vec assembly with petsc4py
We check that the x argument is assembled in MatMultTranspose(), but not y. It
seems possible that y could have stashed values that get communicated
hat doing so, we only access the local portion of the array
> which should not require any assemble() am I right?
> >
> > Best regards,
> > Alexandre.
> >
> >
> > -Message d'origine-
> > De : Jose E. Roman
> > Envoyé : mardi 15 juillet 2025
at would
> help me better understand how to properly use PETSc!
> Regards,
> Alexandre.
> De : Matthew Knepley
> Envoyé : mardi 15 juillet 2025 14:18
> À : SCOTTO Alexandre
> Cc : Jose E. Roman ; petsc-users@mcs.anl.gov
> Objet : Re: [petsc-users] When to perform PETSc.V
y use PETSc!
>
>
>
> Regards,
> Alexandre.
>
>
>
> *De :* Matthew Knepley
> *Envoyé :* mardi 15 juillet 2025 14:18
> *À :* SCOTTO Alexandre
> *Cc :* Jose E. Roman ; petsc-users@mcs.anl.gov
> *Objet :* Re: [petsc-users] When to perform PETSc.Vec assembly
Cc : petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov>
Objet : Re: [petsc-users] When to perform PETSc.Vec assembly with petsc4py
Assembly is needed after a call to x.setValues() or any of its variants.
https://urldefense.us/v3/__https://petsc.org/main/petsc4py/reference/petsc4py.
COTTO Alexandre
> Cc : petsc-users@mcs.anl.gov
> Objet : Re: [petsc-users] When to perform PETSc.Vec assembly with petsc4py
>
> Assembly is needed after a call to x.setValues() or any of its variants.
>
> https://urldefense.us/v3/__https://pet
t; Best regards,
> Alexandre.
>
>
> -Message d'origine-
> De : Jose E. Roman
> Envoyé : mardi 15 juillet 2025 12:21
> À : SCOTTO Alexandre
> Cc : petsc-users@mcs.anl.gov
> Objet : Re: [petsc-users] When to perform PETSc.Vec assembly with petsc4py
>
>
ge d'origine-
De : Jose E. Roman
Envoyé : mardi 15 juillet 2025 12:21
À : SCOTTO Alexandre
Cc : petsc-users@mcs.anl.gov
Objet : Re: [petsc-users] When to perform PETSc.Vec assembly with petsc4py
Assembly is needed after a call to x.setValues() or any of its variants.
https://urldefe
Assembly is needed after a call to x.setValues() or any of its variants.
https://urldefense.us/v3/__https://petsc.org/main/petsc4py/reference/petsc4py.PETSc.Vec.html*petsc4py.PETSc.Vec.setValue__;Iw!!G_uCfscf7eWS!cvSh6J_ggyBtDLAEXjAIxkYQUbKkTTiA-QPyYNKZh3E_iJjftgP4afSVeUnPwdIE84eDB6to38b3rFjJg9yRB1
Dear PETSc community,
As a beginner in the MPI world and with the PETSc library, I come with a
possibly very naive question.
I know from the documentation that assembling vectors must be done, but it is
not clear to me when to perform this operation.
Is there a simple way to know when a vector n
11 matches
Mail list logo