petsc function wrapper

Aron Ahmadia aja2111 at
Thu Nov 5 03:10:51 CST 2009

Hi Braxton,

I don't think there's an explicit manual page in PETSc for doing it.
You would need to do:


(iterate over range on data from array)


I cc the PETSc user's list in case anyone else has a brighter idea.


On Thu, Nov 5, 2009 at 3:40 AM, Braxton Osting <braxtono at> wrote:
> aron,
> last year you showed abby and I a slick way to apply a function to a
> petsc vec pointwise. i can't seem to find that manual page now. do you
> remember it?
> thanks,
> b

More information about the petsc-users mailing list