-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laser Wavepacket: Implementation != Doc #1312
Laser Wavepacket: Implementation != Doc #1312
Conversation
looks good to me 👍 |
ah, same doc for all lasers to be explicit :) |
|
Follow-Up to ComputationalRadiationPhysics#1232: the implementation of the laser wavepacket regarding the *beam waist* does not fit its documentation in `laserConfig.param`. This commit updates the implementation to match the documentation which is then identical to the other laser pulses. Currently, the parameter that was specified is a factor `sqrt(2)` off making the pulse waist effectively *tighter* by this factor than intended.
Extends the wavepacket with additional information for conversion to typical quantities used in experiments.
5050e27
to
8bfd4fa
Compare
@ax3l thx |
np, thx |
@PrometheusPi can we merge? :) (I already have the mail open for hours for the user list ;) ) |
Laser Wavepacket: Implementation != Doc
there was a minus sign removed in |
awww. good catch! |
@@ -113,7 +113,7 @@ HDINLINE float3_X laserTransversal(float3_X elong, const float_X, const float_X | |||
const float_X exp_x = posX * posX / (W0_X * W0_X); | |||
const float_X exp_z = posZ * posZ / (W0_Z * W0_Z); | |||
|
|||
return elong * math::exp(float_X(-0.5) * (exp_x + exp_z)); | |||
return elong * math::exp(exp_x + exp_z); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gosh! Arrrrr! 🙈
math::exp(float_X(-1.0) * (exp_x + exp_z));
Follow-Up to #1232: the implementation of the laser wavepacket regarding the beam waist does not fit its documentation in
laserConfig.param
.This commit updates the implementation to match the documentation which is then identical to the other laser pulses. Currently, the parameter that was specified is a factor
sqrt(2)
off making the pulse waist effectively tighter by this factor than intended.To Do