Celeritas 0.7-develop+ddcb429
Loading...
Searching...
No Matches
Classes | Macros
AtomicNumber.hh File Reference
#include "corecel/Assert.hh"
#include <ostream>

Classes

class  celeritas::AtomicNumber
 Type-safe atomic number identifier. More...
 

Macros

#define CELER_DEFINE_ATOMICNUMBER_CMP(TOKEN)
 

Macro Definition Documentation

◆ CELER_DEFINE_ATOMICNUMBER_CMP

#define CELER_DEFINE_ATOMICNUMBER_CMP (   TOKEN)
Value:
CELER_CEF friend bool operator TOKEN(AtomicNumber lhs, AtomicNumber rhs) \
{ \
return lhs.unchecked_get() TOKEN rhs.unchecked_get(); \
}
#define CELER_CEF
Decorate a function that works on both host and device, with and without a device compiler.
Definition Macros.hh:115