[petsc-users] Sequential VecSetValues and VecAssembly

Timothée Nicolas timothee.nicolas at gmail.com
Tue Nov 13 08:13:31 CST 2018


Dear all,

I realized our code has some calls to VecSetValues not followed by calls to
VecAssemblyBegin/VecAssemblyEnd, and no errors are thrown, although the
manual says they must be called. The corresponding vectors are sequential
vectors created with VecCreateSeq. Is this normal behaviour? Do we still
need to call VecAssemblyBegin/End in this case? And btw what does assembly
exactly correspond to?

Best regards

Timothee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181113/a6454638/attachment.html>


More information about the petsc-users mailing list