1. 29 Sep, 2022 1 commit
    • 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
      802fb37d
  2. 26 Sep, 2022 1 commit
  3. 25 Sep, 2022 1 commit
    • 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
      d34a7aa6
  4. 24 Sep, 2022 1 commit
  5. 23 Sep, 2022 1 commit
  6. 19 Sep, 2022 1 commit
  7. 16 Sep, 2022 1 commit
    • 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
      aefbb81a
  8. 14 Sep, 2022 1 commit
    • 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.
      76d525da
  9. 13 Sep, 2022 1 commit
  10. 07 Sep, 2022 3 commits
    • 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
      2d505f63
    • 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
      523a573c
    • 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
      96b823b0
  11. 05 Sep, 2022 2 commits
    • Johnson, Seth R's avatar
      Save JSON exception output if demo loop fails (#507) · ccc088df
      Johnson, Seth R authored
      * Add exception output
      * Add test of build output
      * Add more detailed output for exceptions
      ccc088df
    • Johnson, Seth R's avatar
      Use `test` sub-namespace instead of `celeritas_test` (#503) · d5c462a9
      Johnson, Seth R authored
      * Add rewriting script
      
      * Apply script
      
      * Update everything and clang-format 14.0.6
      
      * Delete tautological using statements
      
      * Fix cuda build
      
      * Move testing details to testdetail dir/namespace
      
      I think this makes it easier to find where all the components are as
      well as resolving @pcanal's and my concerns about ambiguity :)
      
      * Move main to TestMain
      
      * Remove unneeded celeritas:: namespaces in test
      
      * Move field details into general test namespace
      d5c462a9
  12. 03 Sep, 2022 1 commit
  13. 29 Aug, 2022 1 commit
    • 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
      d2c76ea5
  14. 27 Aug, 2022 1 commit
  15. 26 Aug, 2022 1 commit
    • 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
      cb09bd2f
  16. 25 Aug, 2022 2 commits
    • Philippe Canal's avatar
      Improve static/shared CUDA library choice when linking VecGeom (#497) · 8663fe5a
      Philippe Canal 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.
      8663fe5a
    • 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
      82c95dd8
  17. 23 Aug, 2022 3 commits
    • 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
      1a868673
    • 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
      56efd946
    • 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
      38544d56
  18. 22 Aug, 2022 2 commits
  19. 21 Aug, 2022 1 commit
  20. 19 Aug, 2022 2 commits
    • Guilherme Lima's avatar
      Fix VecGeomTrack::move_internal assertion failure (#493) · f7dbf69a
      Guilherme Lima authored
      * Loosen up real_type comparison in assert
      * Change extra_push() value to 1e-13
      * Make the condition more general concerning float vs. double
      f7dbf69a
    • Lund, Amanda's avatar
      Set remaining model lower limits to zero and make sure demo loop runs with... · c7691530
      Lund, Amanda authored
      Set remaining model lower limits to zero and make sure demo loop runs with integral approach off (#490)
      
      * Set mu brems model lower energy limit to zero
      
      * Relax assertion to allow momentum_sq == 0
      
      * Move BhabhaEnergyDistribution.hh to em/distribution
      
      * Remove second Moller-Bhabha model limit
      
      - Remove MB model min_valid_energy in MollerBhabhaData
      - Remove assertion that electron cutoff > model min_valid_energy in MB
        interactor
      c7691530
  21. 18 Aug, 2022 1 commit
  22. 17 Aug, 2022 3 commits
  23. 16 Aug, 2022 1 commit
    • 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
      129b23ff
  24. 12 Aug, 2022 1 commit
  25. 11 Aug, 2022 1 commit
    • 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.
      7534f2b4
  26. 09 Aug, 2022 1 commit
  27. 08 Aug, 2022 3 commits
  28. 03 Aug, 2022 1 commit
    • 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)
      19da560a