#include "petscvec.h" PetscErrorCode VecDotRealPart(Vec x,Vec y,PetscReal *val)Collective on Vec
per-processor memory bandwidth
interprocessor latency
work load inbalance that causes certain processes to arrive much earlier than others
For real numbers this returns the same value as VecDot()
For complex numbers in C^n (that is a vector of n components with a complex number for each component) this is equal to the usual real dot product on the the space R^{2n} (that is a vector of 2n components with the real or imaginary part of the complex numbers for components)
Developer Note: This is not currently optimized to compute only the real part of the dot product.