ExternalElectricField has a bug in siesta 3, and should be fixed in the next release. Nevertheless, as far as I understand, the SlabDipoleCorrection should work fine and it does not require the explicit call to ExternalElectricField.

(Both options are implemented in the same .F file and you can try to fix the bug, by comparing the file to siesta 2)

1.  SlabDipoleCorrection  .true.
2.  %block ExternalElectricField
         0.0   0.0   1.0  V/Ang
     %endblock ExternalElectricField

Responder a