Skip to content

Commit

Permalink
add focal length
Browse files Browse the repository at this point in the history
  • Loading branch information
huixingjian committed Feb 17, 2025
1 parent 7b00b2f commit 4543b97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/laser_STC/analysis_laser_STC.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@
Phi2,phi2 = get_phi2(laser.dim, laser.grid)
[zeta_x, zeta_y], [nu_x, nu_y] = get_zeta(laser.dim, laser.grid,k0)
print([zeta_x, zeta_y])
#assert ((phi2-2.4e-24)/2.4e-24<0.01), 'Test laser_ionization did not pass'
#assert ((phi2-2.4e-24)/2.4e-24<0.01), 'Test phi2 did not pass'
assert ((zeta_y-2.4e-22)/2.4e-22<0.01), 'Test zeta did not pass'
4 changes: 2 additions & 2 deletions examples/laser_STC/inputs_STC
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ geometry.prob_hi = 10e-6 10e-6 30e-6

lasers.names = laser
lasers.lambda0 = 600e-9
lasers.solver_type = multigrid
lasers.MG_tolerance_rel = 1e-5
lasers.solver_type = fft
laser.a0 = 0.1
laser.position_mean = 0. 0. 0
laser.w0 = 5e-6
laser.L0 = 15e-6
laser.focal_distance = 0
#laser.phi2 = 2.4e-24
#laser.beta = 3e-18
laser.zeta = 2.4e-22
Expand Down

0 comments on commit 4543b97

Please sign in to comment.