Electrical driving of the surface memorization in dimerized nematics with short range smectic order