Celeritas  0.5.0-86+4a8eea4
Public Types | Static Public Attributes | List of all members
celeritas::GeoTraits< G > Struct Template Reference

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.
 

Detailed Description

template<class G>
struct celeritas::GeoTraits< G >

Traits class for defining params and device data.

Template Parameters
GGeometry 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.


The documentation for this struct was generated from the following file: