Dear SALMON Developers,
I hope this message finds you well.
While examining the source code, I noticed that for the Asin2_cw case, the implementation of the external vector potential appears to use only the real part of the polarization vector (epdir_re1) and does not include the imaginary part (epdir_im1). As a result, it seems that circularly polarized light is not supported for this field shape.
The relevant code segment is:
case('Asin2_cw')
! pulse shape : A(t)=f0/omega*sin(Pi t/T)**2 *cos (omega t+phi_CEP*2d0*pi)
! pump laser
do i=is, ie
t=t0+i*delta_t
tt = t
if (tt<tw1*0.5d0) then
Ac_ext_t(:,i) = -Epdir_re1(:)*f0_1/omega1*(sin(pi*tt/tw1))**2*cos(omega1*tt+phi_CEP1*2d0*pi)
else
Ac_ext_t(:,i) = -Epdir_re1(:)*f0_1/omega1*cos(omega1*tt+phi_CEP1*2d0*pi)
end if
end do
Could you please confirm whether my understanding is correct? If so, I would greatly appreciate your guidance on how to modify this implementation, or how to properly define a continuous-wave vector potential with circular polarization in SALMON.
Thank you very much for your time and support. I look forward to your response.
All the best
Aber
Dear Aber,
Thank you very much for the question. We apologize for that inconvenience. ae_shape1 = ‘Asin2_cw’ is rather exceptional, nonstandard option and it is not implemented thoroughly.
For preparing special external vector potential, please try ae_shape1 = 'input' option. With this option, SALMON will read a data file specified by file_input1 as a user-defined vector potential.
https://salmon-tddft.jp/webmanual/current/html/input_keyword_list.html#file-input1
Sincerely,
Shunsuke
差出人:
ghassan Aber <ghassa...@gmail.com>
日付:
木曜日, 2025年12月4日
13:44
宛先:
salmo...@salmon-tddft.jp <salmo...@salmon-tddft.jp>
件名:
[salmon-user:00387] Fwd: Circularly polarized light with Asin2_cw is not implemented