<div dir="ltr">Hi,<div><br></div><div>there are, in principle, several ways of applying an electric field. The only way that makes proper sense for a periodic solid is the <a href="https://manual.cp2k.org/cp2k-5_1-branch/CP2K_INPUT/FORCE_EVAL/DFT/PERIODIC_EFIELD.html">periodic efield</a><br>.  I would be (very) surprised if it works with k-points. The main methods are in qs_efield_berry.F. </div><div><br></div><div>See </div><div><br></div><div> Stengel, Massimiliano; Spaldin, Nicola A.; Vanderbilt, David. </div><div> NATURE PHYSICS, 5 (4), 304-308 (2009). </div><div> Ab initio molecular dynamics in a finite homogeneous electric field</div><div> Electric displacement as the fundamental variable in</div><div> electronic-structure calculations.</div><div> http://dx.doi.org/10.1038/NPHYS1185</div><div><br></div><div>and</div><div><br></div><div><span style="font-family: Arial, sans-serif;">Zhang, Chao, Jürg Hutter, and Michiel Sprik. "Computing the Kirkwood g-Factor by combining constant maxwell electric field and electric displacement simulations: application to the dielectric constant of liquid water." </span><i style="font-family: Arial, sans-serif;">The journal of physical chemistry letters</i><span style="font-family: Arial, sans-serif;"> 7.14 (2016): 2696-2701.</span><br></div><div><br></div><div>There is also a non periodic version that might be easier to follow (efield_utils.F) and a general external potential that could be applied. Depends what you want to do.</div><div><br></div><div>Matt</div><div> <br>On Thursday, June 28, 2018 at 11:17:33 PM UTC+1, NGastaPooh wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr"><span style="font-size:12px">Dear All,</span><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"></span><div style="font-size:12px"><br></div><div style="font-size:12px">I need to utilize the ability of CP2K to subject the electrons to an externally imposed electric </div><div style="font-size:12px">field but am not sure as to exactly how this is implemented in the code. I would greatly appreciate </div><div style="font-size:12px">it, if anyone could provide me with some details or direct me to the sub-routine that accounts for the external potential implementation.</div><div style="font-size:12px"><br></div><div style="font-size:12px">I also have a separate question: what are the energy units in BAND_STRUCTURE routine output file? </div><div style="font-size:12px"><br></div><div style="font-size:12px">Thank you in advance.</div><div style="font-size:12px"><br></div><div style="font-size:12px">Best regards,</div><div style="font-size:12px">Roman Dmitriev</div></div></blockquote></div></div>