[petsc-users] vec norm for local portion of a vector
Xiangdong
epscodes at gmail.com
Wed Jul 27 16:42:20 CDT 2016
Hello everyone,
I have a global dmda vector vg. On each processor, if I want to know the
norm of local portion of vg, which function should I call?
So far I am thinking of using DMDAVecGetArray and then write a loop to
compute the norm of this local array.
Is there a simple function available to call? like
*vg->ops->norm_local(vg,NORM_2, &normlocal)?
Thanks.
Best,
Xiangdong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160727/7989ebbe/attachment.html>
More information about the petsc-users
mailing list