Skip to content

New bvh surf

Andrei Gheata requested to merge new_bvh_surf into bvh_surf

This temporarily clones the code in BVH.h and AABB.h into the corresponding classes templated on the precision, so now it is possible to use the BVH in the surface model in single precision, controlled by the compilation flag VECGEOM_BVH_SINGLE. This shows improvements of up to 50% or more compared to the double precision mode on my consumer card.

The MR also restructures the code:

  • SurfData.h split out of Model.h
  • BrepHelper implementation moved in src/BrepHelper.cpp, instantiating the class for float and double. The code is compiled and added to the VecGeom library, so surface model executables can be created faster

Merge request reports