Particle acceleration in the polar cap region of an oscillating neutron star