VecGeom¶
The VecGeom implementation in Celeritas uses G4VG [Johnson et al., 2025] to convert Geant4 geometry.
-
class VecgeomParams : public celeritas::GeoParamsInterface, public celeritas::ParamsDataInterface<VecgeomParamsData>¶
Shared model parameters for a VecGeom geometry.
The model defines the shapes, volumes, etc.
Static constructor helpers
- Todo:
Move these to a “model” abstraction
Runtime interface¶
-
class VecgeomTrackView¶
Navigate through a VecGeom geometry on a single thread.
For a description of ordering requirements, see:
VecgeomTrackView geom(vg_params_ref, vg_state_ref, trackslot_id);
See also
The “next distance” is cached as part of
find_next_step
, but it is only used when the immediate next call ismove_to_boundary
.