D-shaped electrode