Skip to content
Snippets Groups Projects
  1. Sep 29, 2022
    • Johnson, Seth R.'s avatar
      Add release procedure, roles, and 0.1.x release notes (#519) · 802fb37d
      Johnson, Seth R. authored
      * Add release docs for v0.1.2
      * Add release notes and update documentation
      * Fix issues with code documentation
      * Remove comments
      * Add release process, contribution changes, dev guide tweaks
      * Incorporate review feedback
      * Update readme and ORNL TM author list
      * Address further review comments
      * Fix documentation
      * Last changes to administration/contribution
      * Use RTD theme
  2. Sep 26, 2022
  3. Sep 25, 2022
    • Lund, Amanda's avatar
      Make primary generator more general (#514) · d34a7aa6
      Lund, Amanda authored
      - Allow energy, position, and direction to be sampled from distributions
      - Allow multiple particle types
      - Add a method to create a primary generator using some predefined energy, spatial, and angular distributions that can be specified in the json input
  4. Sep 24, 2022
  5. Sep 23, 2022
  6. Sep 19, 2022
  7. Sep 16, 2022
    • Lund, Amanda's avatar
      Fix indexing of imported micro xs (#512) · aefbb81a
      Lund, Amanda authored
      * Index micro xs builders by element component ID instead of element ID
      * Sort imported element components by element ID
      * Don't import Klein-Nishina micro xs (not sure why Geant4 builds element selectors for this model, but we don't need it since no element is sampled for the discrete interaction)
      * Update ImportedProcesses test for master (micro xs builder checks will fail)
      * Update ImportedProcesses test for fix
  8. Sep 14, 2022
    • Johnson, Seth R.'s avatar
      Fix edge cases in field propagation (#511) · 76d525da
      Johnson, Seth R. authored
      * Add diagnostic stepper
      * Add failing gamma test in pathological field
      * Return "success" with NaN instead of iterating to convergence
      * Fix near-infinite loop by traveling slightly beyond chord end point
      
      This is probably the right thing to do because an intersection at that
      point is still "good enough" to call a boundary crossing.
  9. Sep 13, 2022
  10. Sep 07, 2022
    • Johnson, Seth R.'s avatar
      Fix class name conflict, remove default initializers, and tweak field driver (#504) · 2d505f63
      Johnson, Seth R. authored
      * Rename stepper result
      * Update cmake presets
      * Define rsqrt
      * Minor consistency changes to driver and test
      * Add MagFieldEquation test
      * Delete default initializers
      * More minor refactoring
      * Use detail::ax for updating results
      * Uniformly use ints for explicit 3-element looping
    • Stefano Tognini's avatar
      Export SB, Livermore PE, and atomic relaxation data to ROOT file (#481) · 523a573c
      Stefano Tognini authored
      * Add SB tables to ImportData
      
      * Fix RootInterfaceLinkDef; Add SB map to celer-dump-data
      
      * Import Livermore PE data to ROOT file
      
      * Add atomic relaxation data to ROOT file
      
      * Update celer-dump-data
      
      * Expand RootImporter test harness; expand celeritas-dump-data; update test root files
      
      * Reduce code duplication
      
      * Add assertion macros
      
      * Add all-element reader (Seth)
      
      * Remove zombie code
      
      * Address Amanda's comments; simplify ImportData operator bool
      
      * Fix ImportProcessConverter bug; Add ImportData test harness
      
      * Simplify RootImporter test
      
      * Update four-steel-slabs.root file: no reader data is stored
      
      * Update app/data/four-steel-slab.gdml to match the one in test/celeritas/data to avoid confusion; Update respective org.json accordingly
      
      * Refactor micro xs ElementPhysicsVectorMap -> ElementPhysicsVectors
      
      * Move content of ImportData.test into GeantImporter.test
      
      * Address comments
    • Johnson, Seth R.'s avatar
      Fix infrastructure and build issues for Summit (#509) · 96b823b0
      Johnson, Seth R. authored
      * Add presets for summit
      
      * Reset describe when rebuilding from presets
      
      * Loosen test tolerances
      
      Compiling with -march=native -mtune=native on Power9 gives slightly
      different answers. VecGeom and ORANGE have slightly different answers,
      and using -fastmath gives *very* different answers (not yet accounted
      for in our test comparison so this still fails).
      
      * Fix geo-check test when run outside of source dir
      
      * Hide scary host code from timid NVCC
      
      * Fix missing operator bool on cu/hip RNG
      
      * Turn off fast math by default
      
      * Fix attempt to build unsupported muon processes when ROOT is disabled
      
      * Die correctly when attempting to build Coulomb process
      
      * Use celeritas basic physics list by default
      
      * Fix output of geant options
      
      * Enable geo check build if vecgeom is disabled
      
      * Fix duplicate main definitino
      
      * Add hidden variable for forcing resource lock on tests
  11. Sep 05, 2022
  12. Sep 03, 2022
  13. Aug 29, 2022
    • Johnson, Seth R.'s avatar
      Add granularity to Geant setup (#485) · d2c76ea5
      Johnson, Seth R. authored
      * Move Geant detector construction to a different file
      * Add StringEnumMap
      * Allow more granular physics construction through demo loop
      * Move small classes into GeantSetup
      * Add JSON I/O for nonnative units
      * Add additional options to Geant setup, and update test
      * Fix unique_ptr for geant v10
      * Fix VecGeom test
      * Fix energy limits
      * Refactor micro xs export
      * Add option to print geant4 setup options
      * Add command to regenerate ROOT file
      * Adjust root importer formatting
      * Add support for coulomb scattering import and clean up import process converter
  14. Aug 27, 2022
  15. Aug 26, 2022
    • Johnson, Seth R.'s avatar
      Fix ORANGE reentrant boundary crossings (#501) · cb09bd2f
      Johnson, Seth R. authored
      * Fix three-spheres GDML file
      
      * REVERTME: debug code for failing heuristic track
      
      * Add failing orange test
      
      * Add surface normal accessor to simple unit tracker
      
      * Check for sign change in dot product with normal when changing direction on boundary
      
      * Revert "REVERTME: debug code for failing heuristic track"
      
      * Update geo heuristic path lengths with ORANGE
      
      * Update results and tolerances for vecgeom
      
      * Simplify logic via review feedback
  16. Aug 25, 2022
    • Canal, Philippe's avatar
      Improve static/shared CUDA library choice when linking VecGeom (#497) · 8663fe5a
      Canal, Philippe authored
      * Make sure that that we use a consistent cuda runtime)
      * Remove 'Force shared cuda libraries when linking against vecgeom'
      * Extend comment on 'un-annotated' cuda depend libraries
      * Make sure that that we use a consistent cuda runtime also for executable
      * CMake/CUDA: refactor and fix the libceleritas_io case
      
      i.e the case of a library that depend of CUDA code but does not
      in itself include any cuda code.
    • Johnson, Seth R.'s avatar
      Fix vecgeom boundary state and add more thorough testing (#494) · 82c95dd8
      Johnson, Seth R. authored
      * Add geometry test
      
      * Add an assertion
      
      * Add geo.is_on_surface geometry function
      
      * Fix vecgeom errors by setting boundary state
      
      * Remove unnecessarily loose tolerance
      
      Reverts half of #493
      
      * Don't warn about missing matids for 'unused' geometry volume labels
      
      * Add vecgeom version to diagnositc output
      
      * Correct typos, improve documentation and tests
      
      * Add new assertions based on 'is_on_surface'
      
      * Add another boundary assertion
      
      * Make sure next and max steps match when not hitting boundary
      
      * is_on_{surface -> boundary}
      
      * Convert some checks to is_on_boundary
      
      * Review feedback
      
      * Update test results for vecgeom, and disable ORANGE since it fails on reentrant tracks
  17. Aug 23, 2022
    • Johnson, Seth R.'s avatar
      Fix unusual errors in field propagation (#499) · 1a868673
      Johnson, Seth R. authored
      * Work around floating point error in FieldPropagator
      * Add tests for step endpoint being near boundary
      * Reduce reported traveled distance when substep end point is close to boundary
      * Fix comments
    • Johnson, Seth R.'s avatar
      Fix unintentional MSC and some displacement logic (#500) · 56efd946
      Johnson, Seth R. authored
      * Do not displace very small distances
      
      * Reformulate safety/displacement clamping
      
      * Don't displace for geo-limited steps
      
      * Fix accidental enabling of MSC when enable_msc=false in demo loop
      
      * Fix AlongStepUniformMscAction accessor
    • Lund, Amanda's avatar
      Fix imported model microscopic cross sections (#487) · 38544d56
      Lund, Amanda authored
      * Make the imported model micro xs more consistent with Geant4
      
      -Only import model micro xs for models that require it
      -Fix the energy grid lower bound
      -Expand test
      
      * Use secondary production cut in model micro xs calculation
      
      * Update test results
      
      * Recalculate range instead of hardcoding in UrbanMsc test
      
      * Check inverse Tsai radiation length in RootImporter test so differences between the very small rad length values will be caught with soft equal comparison
      
      * Call SetupForMaterial() before calculating micro xs in ImportProcessConverter and update root files and test again
      
      * Address review feedback
      
      * Revert me later: don't import e_coulomb_scattering micro xs until we can set secondary production cuts correctly for filtered secondary particles
      
      * Use G4KleinNishinaCompton instead of G4KleinNishinaModel; update root files again
  18. Aug 22, 2022
  19. Aug 21, 2022
  20. Aug 19, 2022
  21. Aug 18, 2022
  22. Aug 17, 2022
  23. Aug 16, 2022
    • Johnson, Seth R.'s avatar
      NVHPC: silence warnings (#486) · 129b23ff
      Johnson, Seth R. authored
      * Backport std::unreachable
      * Fix unreachable warning
      * Clean additional warnings
      * Fix build and apply suggestion
      * Fix new warning from gcc
      * Apply feedback
      * Only add no-unknown-pragmas where supported
  24. Aug 12, 2022
  25. Aug 11, 2022
    • Johnson, Seth R.'s avatar
      Filter imported data from Geant4 based on user options (#482) · 7534f2b4
      Johnson, Seth R. authored
      * Fix unintentional copy
      * Allow empty EM parameters
      * Fix process converter for particles not stored in cutoffs
      * Downgrade duplicate process/model warnings
      
      Duplicates are expected because of how we insert the data
      
      * Add filtering to GeantImporter and test
      
      This also reuses particle/element/material data rather than reloading it.
  26. Aug 09, 2022
  27. Aug 08, 2022
  28. Aug 03, 2022
    • Johnson, Seth R.'s avatar
      Rewrite field tests including two failing ones (#471) · 19da560a
      Johnson, Seth R. authored
      * Add some field propagator assertions
      * Gut field tests
      * Add more tests, two misbehaving
      * Add layered test too
      * Fix world definition
      * Re-add revolutions through CMS field
      * Fix max_nsteps return type
      * Revert clamp: now correct min(max(a, b), c)
      
      Fixes an error I introduced in #399 (but at least the assertion lets us
      know the precondition was violated)
Loading