apt-sim / AdePT

Accelerated demonstrator of electromagnetic Particle Transport
Apache License 2.0
25 stars 34 forks source link

Minimal fetch and use of G4VG for in-memory Geant4<->VecGeom conversion #273

Closed drbenmorgan closed 7 months ago

drbenmorgan commented 7 months ago

As discussed at the last AdePT/Celeritas standup, and for this afternoon's hackathon, this shows the minimal steps for use of celeritas-project/g4vg in AdePT. This is just:

  1. Use of FetchContent to get the code and add it to the build
  2. A smoke test of including the G4VG.hh public header and linking to libg4vg

It's been tested on a centos9 with gcc11/cuda12 and seems to build and run o.k., but it is trivial!

Also pinging @sethrj for info/double check.

phsft-bot commented 7 months ago

Can one of the admins verify this patch?