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
  • !849

Several improvements to cone shape, and fix to problems in shape_testPolycone

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Guilherme Lima requested to merge lima/vecgeom-522 into master Sep 17, 2021
  • Overview 39
  • Commits 8
  • Pipelines 4
  • Changes 14

This MR contains several improvements to cone shape affecting polycone testing:

  • Replace Real_v(0.0) with a const Real_v zero(0.0)
  • Improved accounting of tolerances
  • Avoid some redundant calls of IsOnConicalSurface(...) function
  • Invalidate normals for corners (noSurface > 2), while faces & edges (noSurface=1,2) are okay
    • fixes DistanceToOut() for tracks scratching a polycone surface
    • fixes stuck tracks observed in Celeritas rasterizer

Moreover, polycone tolerances are loosened in order to satisfy ShapeTester tests.

Edited Sep 29, 2021 by Guilherme Lima
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: lima/vecgeom-522