[petsc-users] VecPointwiseDivide for Vecs with multiple DOFs?
Matthew Knepley
knepley at gmail.com
Thu Jul 14 20:01:43 CDT 2011
You would just write this the same way PointwiseDivide() is written. Take
out the arrays using
VecGetArray() and do the processing yourself.
Thanks,
Matt
On Fri, Jul 15, 2011 at 12:55 AM, Max Rudolph <rudolph at berkeley.edu> wrote:
> Is there a straightforward way to perform a pointwise divide of every DOF
> in a global Vec with multiple degrees of freedom by another vector that has
> only one degree of freedom? Thanks for your help.
>
> Max
--
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110715/eb739212/attachment.htm>
More information about the petsc-users
mailing list