Question about calculate transition electric field


Click here for full thread
Clicked A Few Times
Dear Niri,

I get the answer why I am wrong to understand the coeffient sqrt(2.0d0).

First, the normalizing condition of TDDFT coeffient is:


This is true for UDFT(ipol=2). But for the case of RDFT(ipol=1), in the source file nwdft/lr_tddft/tddft_analysis.F,


But the TDDFT coeffient should satisfy the condition:



1294 if (ipol.eq.1) then
1295 do i=1,20
1296 tmom(i)=tmom(i)*dsqrt(2.0d0)
1297 enddo

Thanks again for your helpful reply! And now I can add the code to calculate the transition electric field.