Celeritas 0.7.0-dev.555+develop.5c5a8f0a7
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
celeritas::VecgeomStateData< W, M > Struct Template Reference

Interface for VecGeom state information. More...

#include <VecgeomData.hh>

Public Types

template<class T >
using StateItems = StateCollection< T, W, M >
 
using VgStateItems = detail::VecgeomNavCollection< W, M >
 

Public Member Functions

 operator bool () const
 True if sizes are consistent and states are assigned.
 
TrackSlotId::size_type size () const
 State size.
 
template<Ownership W2, MemSpace M2>
VecgeomStateData & operator= (VecgeomStateData< W2, M2 > &other)
 Assign from another set of data.
 

Public Attributes

StateItems< Real3 > pos
 
StateItems< Real3 > dir
 
VgStateItems state
 
VgStateItems next_state
 

Detailed Description

template<Ownership W, MemSpace M>
struct celeritas::VecgeomStateData< W, M >

Interface for VecGeom state information.

The current and next navigation states are native VecGeom states that store the boundary flag and the last exited volume. The "next" state is set by find_next_step and consumed by cross_boundary .


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