<div dir="ltr"><font face="times new roman, serif">Certainly it can, I also tried this method before. </font><div><font face="times new roman, serif">But I need to add the potential derived from finite element method, which is naturally discrete value.</font><font face="times new roman, serif"><br></font><br>在 2019年3月18日星期一 UTC+8下午4:31:08,jgh写道:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi
<br>
<br>yes, you can do that for non-periodic cases. However, I don't
<br>see any good reason to do it. The code gives you the possibility
<br>for an analytic solution.
<br>
<br>regards
<br>
<br>Juerg Hutter
<br>------------------------------<wbr>------------------------------<wbr>--
<br>Juerg Hutter                         Phone : ++41 44 635 4491
<br>Institut für Chemie C                FAX   : ++41 44 635 6838
<br>Universität Zürich                   E-mail: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="mzEagFbwCgAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">hut...@chem.uzh.ch</a>
<br>Winterthurerstrasse 190
<br>CH-8057 Zürich, Switzerland
<br>------------------------------<wbr>------------------------------<wbr>---
<br>
<br>-----<a href="javascript:" target="_blank" gdf-obfuscated-mailto="mzEagFbwCgAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a> wrote: -----
<br>To: "cp2k" <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="mzEagFbwCgAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a>>
<br>From: "Tianshu Jiang in Beijing" 
<br>Sent by: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="mzEagFbwCgAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a>
<br>Date: 03/17/2019 04:17PM
<br>Subject: Re: [CP2K:11428] Electron Dipole Approximation Calculation
<br>
<br>Hi, jgh
<br>I know that external potential can be added to simulating system by declaring section &READ_FROM_CUBE and specify a potential file.
<br>Can electric dipole term be added into the Hamiltonian just like this ?
<br>I can write a script to compute the value of $ E \cdot moment $ on cube grid and then add it into CP2K. Does this feasible ?
<br>Expect your reply !
<br>
<br>
<br>在 2019年3月17日星期日 UTC+8下午9:16:10,jgh写道:Hi 
<br> 
<br>you can add an electric field to the Hamiltonian for isolated molecules 
<br>using the EFIELD section within the DFT section. 
<br>For periodic calculation you add a periodic field using the 
<br>Berry phase formalism with the PERIODIC_EFIELD section. 
<br> 
<br>best regards 
<br> 
<br>Juerg Hutter 
<br>------------------------------<wbr>------------------------------<wbr>-- 
<br>Juerg Hutter                         Phone : ++41 44 635 4491 
<br>Institut für Chemie C                FAX   : ++41 44 635 6838 
<br>Universität Zürich                   E-mail: <a>hut...@chem.uzh.ch</a> 
<br>Winterthurerstrasse 190 
<br>CH-8057 Zürich, Switzerland 
<br>------------------------------<wbr>------------------------------<wbr>--- 
<br> 
<br>-----<a>cp...@googlegroups.com</a> wrote: ----- 
<br>To: "cp2k" <<a>cp...@googlegroups.com</a>> 
<br>From: "Tianshu Jiang in Beijing"  
<br>Sent by: <a>cp...@googlegroups.com</a> 
<br>Date: 03/17/2019 09:44AM 
<br>Subject: [CP2K:11426] Electron Dipole Approximation Calculation 
<br> 
<br>Hello, every developer and user in CP2K community ! 
<br> 
<br>Does anyone know how to achieve electron dipole approximation calculation in CP2K ?  
<br>I am a student major in computational mathematics. Now I want to simulate light-matter interaction using 
<br>Schrodinger-Maxwell system with electron dipole approximation. Interaction term E \cdot x can be added into 
<br>Hamiltonian directly. If I use DFT to simulate quantum system. How should I add the interaction term into CP2K. 
<br>Does there exists some tutorial example to refer ? 
<br> 
<br>I will appreciate for your help.   
<br>  --  
<br> You received this message because you are subscribed to the Google Groups "cp2k" group. 
<br> To unsubscribe from this group and stop receiving emails from it, send an email to <a>cp2k+...@googlegroups.com</a>. 
<br> To post to this group, send email to <a>cp...@googlegroups.com</a>. 
<br> Visit this group at <a href="https://groups.google.com/group/cp2k" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/group/cp2k';return true;" onclick="this.href='https://groups.google.com/group/cp2k';return true;">https://groups.google.com/<wbr>group/cp2k</a>. 
<br> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/<wbr>optout</a>. 
<br>  
<br>  
<br>  -- 
<br> You received this message because you are subscribed to the Google Groups "cp2k" group.
<br> To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="mzEagFbwCgAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp2k+uns...@googlegroups.<wbr>com</a>.
<br> To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="mzEagFbwCgAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a>.
<br> Visit this group at <a href="https://groups.google.com/group/cp2k" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/group/cp2k';return true;" onclick="this.href='https://groups.google.com/group/cp2k';return true;">https://groups.google.com/<wbr>group/cp2k</a>.
<br> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/<wbr>optout</a>.
<br> 
<br></blockquote></div></div>