-
Notifications
You must be signed in to change notification settings - Fork 217
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
Bunch Example: Add Single e- Setup #1755
Bunch Example: Add Single e- Setup #1755
Conversation
816f3e9
to
7fb7a3a
Compare
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.
looks good to me - just one suggestion
* unit: meter */ | ||
(PMACC_C_VECTOR_DIM(float_64, simDim, sigma_SI, 6.0e-6, 6.0e-6, 6.0e-6)) | ||
); /* struct GaussianCloudParam */ | ||
return 0.0; |
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.
just for clarity could you write:
if( isStartCell )
return 1.0;
else
return 0.0;
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.
imho, that is a question of personal preference.
since they is no code obfuscating what is happening, I will keep it that way if we do not find something more to change along.
@PrometheusPi did it create the expected radiation signature for you in both cases (bunch vs. single e-)? |
@ax3l My run time test failed for both bunch and single particle when picongpu tried to write radiation data (hdf5). I will check - might be just my setup. |
@ax3l Please adjust the walltime in the |
@ax3l Due to the |
Run time test works as expected. |
Adds a single e- setup with the same center as the bunch's Gaussian cloud.
7fb7a3a
to
9bd1c81
Compare
Follow-up to #1716: Adds a single e- setup with the same center as the bunch's Gaussian
cloud. Re-adds a single-particle radiation test which is less hard to maintain as the previous one.
Also adds a
particleId
to all particles in theBunch
example, since it isa) useful in that test and
b)
particleId
s have not yet been covered by the compile suite and/or documented in examplesTo Do