Potential functions with periodicity in one coordinate