Skip to content
forked from timy/sfa_hhg

Calculation of HHG with SFA theory

License

Notifications You must be signed in to change notification settings

Pfeng909/sfa_hhg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HHG from strong field approximation theory

Usage

Simply make, then ./test or python run.py

Core function

void calc_hhg(long nt, double dt, double* Ef, double* dout)

requires nt, the size of the time grid, dt, the time step size, Ef, the grid storing electric field and dout, the real part of $d(t)$

Files

  • libhhg.cc: the source file that builds a tiny library file libhhg.so providing the interface function calc_hhg. See main.cc to see how to call calc_hhg.

  • run.py: a simple python script invoking libhhg.so, can easily manipulate parameters and call calc_hhg function to generate dipole(t)

  • main_full.cc: an indepedent file to calculate HHG for H1s with the SFA model

About

Calculation of HHG with SFA theory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 65.7%
  • Python 30.8%
  • Makefile 3.5%