Circularly polarized light with Asin2_cw is not implemented

4 views
Skip to first unread message

ghassan Aber

unread,
Dec 3, 2025, 10:32:16 PM (7 days ago) Dec 3
to salmon-...@googlegroups.com, Yamada Shunsuke

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

ghassan Aber

unread,
Dec 3, 2025, 11:43:59 PM (7 days ago) Dec 3
to salmo...@salmon-tddft.jp

Yamada Shunsuke

unread,
Dec 3, 2025, 11:58:35 PM (7 days ago) Dec 3
to salmo...@salmon-tddft.jp

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>
日付: 木曜日, 2025124 13:44
宛先: salmo...@salmon-tddft.jp <salmo...@salmon-tddft.jp>
件名: [salmon-user:00387] Fwd: Circularly polarized light with Asin2_cw is not implemented

Reply all
Reply to author
Forward
0 new messages