Celeritas  0.5.0-56+6b053cd
List of all members
celeritas::ActionTypeTraits< P, S > Struct Template Reference

Traits class for actions that modify or access params/state. More...

#include <ActionInterface.hh>

Inheritance diagram for celeritas::ActionTypeTraits< P, S >:
Inheritance graph
[legend]

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 >
 

Detailed Description

template<class P, template< MemSpace M > class S>
struct celeritas::ActionTypeTraits< P, S >

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.


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