Skip to content
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

Merged

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Dec 17, 2015

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

@ax3l ax3l added bug a bug in the project's code component: core in PIConGPU (core application) affects latest release a bug that affects the latest stable release labels Dec 17, 2015
@ax3l ax3l added this to the Open Beta milestone Dec 17, 2015
@PrometheusPi
Copy link
Member

looks good to me 👍
The documentation is correct and I think adding FWHM Intensity conversion factors is not needed for this "test" laser.
Could be merged this way.

@ax3l
Copy link
Member Author

ax3l commented Dec 18, 2015

ah, same doc for all lasers to be explicit :)
added in 2nd commit. can be merged if it looks ok to you.

@PrometheusPi
Copy link
Member

👍 will merge
@ax3l please rebase against dev and check if you are author of .../Bunch/.../laserConfig.param

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.
@PrometheusPi
Copy link
Member

@ax3l thx

@ax3l
Copy link
Member Author

ax3l commented Dec 18, 2015

np, thx

@PrometheusPi PrometheusPi added the documentation regarding documentation or wiki discussions label Dec 18, 2015
@ax3l
Copy link
Member Author

ax3l commented Dec 18, 2015

@PrometheusPi can we merge? :) (I already have the mail open for hours for the user list ;) )

PrometheusPi added a commit that referenced this pull request Dec 18, 2015
Laser Wavepacket: Implementation != Doc
@PrometheusPi PrometheusPi merged commit 9088ad5 into ComputationalRadiationPhysics:dev Dec 18, 2015
@ax3l ax3l deleted the fix-laserWavePacket branch December 18, 2015 16:24
@PrometheusPi
Copy link
Member

there was a minus sign removed in laserWavepacket see pull request #1722 for the fix.

@ax3l
Copy link
Member Author

ax3l commented Dec 20, 2016

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);
Copy link
Member Author

@ax3l ax3l Dec 20, 2016

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));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects latest release a bug that affects the latest stable release bug a bug in the project's code component: core in PIConGPU (core application) documentation regarding documentation or wiki discussions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants