-
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
FieldTmp: new solver larmor #68
FieldTmp: new solver larmor #68
Conversation
- missing math::pow prevents compile so far
const float_X el_factor = charge * charge | ||
/ ( 6.0 * PI * EPS0 * | ||
math::pow(SPEED_OF_LIGHT, 5) * mass * mass ); | ||
const float_X energyLarmor = el_factor * math::pow(gamma, 4) |
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.
In the original Lamor equation, gamma^6 is used. Your approach optimzes this by using momentum instead of speed.
However:
beta(t_i) = momentum(t_i) / ( mass * SPEED_OF_LIGHT * gamma(t_i) )
Is the time dependence of gamma in the vector part considered in your derivation?
I am not sure, if we can consider gamma to be constant between two consecutive time steps.
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.
I personally belief this is not a problem since we are already including an first order error when deriving our acceleration.
Just need to check it.
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.
All right, that's a good point.
Note: still discussing the |
After discussing this issue with @ax3l we decided to merge this even if we have the following problems:
But other than that, this looks like an excellent tool to determine the origin of the radiation. let's merge! |
FieldTmp: new solver larmor
…x-coinstraints_checker_no_instance The constraints check is no longer instantiated
1cc899e Merge pull request ComputationalRadiationPhysics#72 from ComputationalRadiationPhysics/doc-installTBB f77cbbc Docs: Install TBB 0c523c1 Merge pull request ComputationalRadiationPhysics#69 from psychocoderHPC/topic-tbbSupport 09b45d1 add TBB support 41cc5c7 Merge pull request ComputationalRadiationPhysics#70 from psychocoderHPC/topic-updateAlpaka 8732079 update alpaka to latest dev a76e409 Merge pull request ComputationalRadiationPhysics#71 from psychocoderHPC/topic-updateTravisModules 3872172 increase cmake minimal version 8967663 update travis modules boost/cmake fbd0b8e Merge pull request ComputationalRadiationPhysics#68 from psychocoderHPC/fix-cuda9DefaultConstructorWarnings 164ace2 fix warning: CUDA 9 git-subtree-dir: thirdParty/cupla git-subtree-split: 1cc899ed11a2c7e454a80deb1a2e8e0b06f091d9
Adds a new solver to
FieldTmp
to calculate the local emitted (relativistic) larmor energy.