[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

VecGetValues and tutorail?



Hello,


"VecGetValues - Gets values from certain locations of a vector. Currently can
only get values on the same processor"

How can I get a value of the vector belonging to a different processor?


I am trying to learn how to adapt my code to work in parallel. Have looked at
src/snes/examples/tutorials/ex10d/ex10.c, but I am still confused on how to use
petsc with unstructured meshes. Is there any simple step-by-step tutorial?


Billy.