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

Field Propagation using Runge-Kutta integration and example15 as demo #166

Merged
merged 36 commits into from
Dec 5, 2023

Commits on Nov 8, 2023

  1. First version of classes for Runge-Kutta integration of track in field

    - MagneticFieldEquation
    - DormandPrince45 - Stepper
    - RkIntegrationDriver
    - fieldConstants.h with kB2C, delta_intersection parameters
    - fieldPropagatorRungeKutta : new class for use by electrons.cu, used in new Example14
    
    More:
    
    Example15: field propagation using Runge-Kutta.  Based on Example13 otherwise.
    
    Tests - unit test test_magfieldRK.cpp
      Simple checks for equation, stepper and driver classes
      Driver: check version of Advance and V1 (old)
      Checks driver vs helix results (on cpu).
    
    Details:
    --------
    RkIntegrationDriver
       Introduced new Advance method.  Using AdvanceV1 as backward compatible.
       Enabled used of RK classes with double integrands (field remains float.)
    
     PrintFieldVectors: auxiliary methods, initially host-only
     Changed VECCORE_ATT_HOST_DEVICE to __host__ __device__
    
    example15: Added ability to print Track info
               check result of RK integration in electrons.cu
               report differences
               Optional argument for Bz field value.
               Use TrackML as default geometry.
    jonapost committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    65a7551 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    075f84c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3197dd6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    21e549b View commit details
    Browse the repository at this point in the history
  5. electrons.cu: Adapted to changes in G4HepEM (using Example13)

    Took revisions from Example13/electrons.cu
    jonapost committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    cfe68f1 View commit details
    Browse the repository at this point in the history
  6. Example15: Fixed multiple parts using changes in Example13

      - electrons.cu
      - example15.cpp
      - example15.cu
      - example15.cuh
      - example15.h
    
    Changed fieldPropagatorRungeKutta.h to suppress 'id' in argument
    jonapost committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    fb56e4e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a00464c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0c54085 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    fb4b884 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f40109e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    89c3d92 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d80f073 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    0a43dc1 View commit details
    Browse the repository at this point in the history
  14. fieldPropagatorRungeKutta: IntegrateToEnd reports if loopCt > 1

    RkIntegrationDriver: small cleanup
    jonapost committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    287cf68 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    299e41b View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    49014e9 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    483bce4 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    3be869b View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    9713b67 View commit details
    Browse the repository at this point in the history
  20. fieldPropagatorRungeKutta.h: sharper step reduction for stuck tracks,…

    … flip side if failing
    
    After a maximum number of failed (zero) steps, reducing the step size each time,
    accept that the track will not cross the boundary, and flip it to the other volume,
    which it is apparently entering (or never left.)
    jonapost committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    996e17f View commit details
    Browse the repository at this point in the history
  21. example15.cu: Added optional printing and info printing ; Revised mag…

    …field/inc/CompareResponses
    jonapost committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    fc01ae8 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    fdae177 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    c36361b View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    114d404 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    ee1591f View commit details
    Browse the repository at this point in the history
  26. fieldPropagatorConstBz: After multiple zero steps move to other side of

    boundary;
    
    fieldPropagatorConstBz::ComputeStepAndNextVolume
    - Optional defaul values in interface (at compile time)
    - Protected some verbosity using if(verbose)
    - Added some optional verbosity
    
    Both of these are to be trimmed / refined.
    jonapost committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    4ea8f40 View commit details
    Browse the repository at this point in the history
  27. fieldPropagatorConstBz: cleaned up several printouts; defaults in Com…

    …puteNextStepAndVolume
    
    Enable defaults for the last 3 arguments of ComputeNextStepAndVolume
    jonapost committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    1c5a8b5 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    4787f69 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    4225101 View commit details
    Browse the repository at this point in the history
  30. fieldPropagatorConstBz.h : clean-up; added const in arg

    Safety was const in ComputeStepAndNextVolume implementation only - added it to declaration.
    jonapost committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    1b7f554 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. Configuration menu
    Copy the full SHA
    d033886 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    efa21e6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8c11d26 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2023

  1. Configuration menu
    Copy the full SHA
    0d2cc3a View commit details
    Browse the repository at this point in the history
  2. example15.cu: cleanup

    jonapost committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    edbb17a View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. Configuration menu
    Copy the full SHA
    e4cccd5 View commit details
    Browse the repository at this point in the history