Celeritas
0.5.0-56+6b053cd
|
Traits class for defining params and device data. More...
#include <GeoTraits.hh>
Public Types | |
template<Ownership W, MemSpace M> | |
using | ParamsData = void |
Params data used during runtime. | |
template<Ownership W, MemSpace M> | |
using | StateData = void |
State data used during runtime. | |
using | TrackView = void |
Geometry track view. | |
Static Public Attributes | |
static constexpr char const * | name = nullptr |
Descriptive name for the geometry. | |
static constexpr char const * | ext = nullptr |
TO BE REMOVED: "native" file extension for this geometry. | |
Traits class for defining params and device data.
G | Geometry params class, e.g. VecgeomParams |
This traits class must be defined for all geometry types. The generic instance here is provided as a synopsis and to improve error checking.