about MatSetValue() and VecSetValue()

Yujie recrusader at gmail.com
Fri Dec 19 17:41:59 CST 2008


thanks a lot, Barry. Merry Xmas:) !

Yujie

On Fri, Dec 19, 2008 at 3:32 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
>   If INSERT_VALUE is being used then ONE of the values you put in ends up
> being the value; which one is
> not under your control. If ADD_VALUES is used then the sum of all the
> values is used.
>
>
> On Dec 19, 2008, at 5:28 PM, Yujie wrote:
>
>  Hi, PETSc developer
>>
>> I am wondering if several cpus simultaneously insert the values in the
>> same position using MatSetValue() or VecSetValue(), how do the functions
>> deal with it? thanks a lot.
>>
>> Regards,
>>
>> Yujie
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20081219/2cc6fec3/attachment.htm>


More information about the petsc-users mailing list