Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • VecGeom VecGeom
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Jira
    • Jira
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • VecGeom
  • VecGeomVecGeom
  • Merge requests
  • !848

Fix for on surface and moving out condition for grazing rays on sphere.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Andrei Gheata requested to merge fix_dout_sph into master Sep 02, 2021
  • Overview 10
  • Commits 1
  • Pipelines 2
  • Changes 2

DistanceToOut for sphere returned kInfLength for rays starting from surface and having the direction almost perpendicular to the position vector, but slightly inwards. Such rays were supposed to give a crossing solution for intersecting the outer surface, but numerically did not in case the surface point is close to rmax+kTolerance. This fixes such problems, and also the G4+VecGeom dna example test.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix_dout_sph