Matthew Knepley <[email protected]> writes:
>> No.  You only need to call VecAssembly if you use VecSetValues.  But if
>>
>
> I thought we had state increase on getarray() as well, but its just locking.

VecRestoreArray calls PetscObjectStateIncrease, but what does that has
to do with VecAssembly?

>> you have a ghosted vector, you would normally use VecGetArray and never
>> bother with VecSetValues.
>
>
> Why would we assume people make the ghost values as well? 

Huh?

> However, if this is the only case, I don't think putting it in is a
> great idea.

Attachment: signature.asc
Description: PGP signature

Reply via email to