[petsc-users] question about DMDA vector

Hailong Xiao xiaohl1986 at gmail.com
Sat Dec 3 17:11:01 CST 2011


Thank you  Jed.

On Sat, Dec 3, 2011 at 5:09 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

>
>
> On Sat, Dec 3, 2011 at 17:07, Hailong Xiao <xiaohl1986 at gmail.com> wrote:
>
>> So, I do not need to call the VecAssemblyBegin; and VecAssemblyEnd;
>> routines in order to set the values of f?
>
>
> Only in order set values that you do not own.
>
> Alternatively, you can set values in a local vector and
> DMDALocalToGlobalBegin/End.
>



-- 
Hailong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111203/8218305b/attachment.htm>


More information about the petsc-users mailing list