Electrostatic Potentials of Stationary Plasma Flows Along Magnetic Well and Hill