In the documentation of VecGetArray I read that it returns a pointer
to the local data array and does not use any copies. Does this mean,
that changing the values of the vector followed by
VecAssemblyBegin/End does NOT invalidate the pointer? In other words,
do I need to re-get the array when vec's values are changed?

Thanks,
Dominik

Reply via email to