Celeritas
0.5.0-86+4a8eea4
|
Traits class for actions that modify or access params/state. More...
#include <ActionInterface.hh>
Public Types | |
Type aliases | |
using | CoreParams = P |
using | CoreStateHost = S< MemSpace::host > |
using | CoreStateDevice = S< MemSpace::device > |
using | SpanCoreStateHost = Span< S< MemSpace::host > *const > |
using | SpanCoreStateDevice = Span< S< MemSpace::device > *const > |
Traits class for actions that modify or access params/state.
Using a single base class's typedefs is necessary for some compilers to avoid an "ambiguous type alias" failure: "member 'CoreParams' found in multiple base classes of different types". Note that adding this class to the inheritance hierarchy (even multiple times) has no additional storage or access cost.