|
CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
|
#include <ReinterpretCtr.hpp>
Public Types | |
| typedef ToType | ctr_type |
| typedef CBRNG::key_type | key_type |
| typedef CBRNG::ctr_type | bctype |
| typedef CBRNG::ukey_type | ukey_type |
ReinterpretCtr uses memcpy to map back and forth between a CBRNG's ctr_type and the specified ToType. For example, after:
typedef ReinterpretCtr<r123array4x32, Philox2x64> G;
G is a bona fide CBRNG with ctr_type r123array4x32.
WARNING: ReinterpretCtr is endian dependent. The values returned by G, declared as above, will depend on the endianness of the machine on which it runs.
Definition at line 54 of file ReinterpretCtr.hpp.