PeTar
N-body code for collisional gravitational systems
particle_base.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ParticleBase
 Basic particle class. More...
 

Macros

#define BINARY_STATE_ID_SHIFT   4
 
#define BINARY_INTERRUPT_STATE_MASKER   0xF
 

Enumerations

enum  BinaryInterruptState : int { BinaryInterruptState::none = 0, BinaryInterruptState::form = 1, BinaryInterruptState::exchange = 2, BinaryInterruptState::collision = 3 }
 

Macro Definition Documentation

◆ BINARY_INTERRUPT_STATE_MASKER

#define BINARY_INTERRUPT_STATE_MASKER   0xF

◆ BINARY_STATE_ID_SHIFT

#define BINARY_STATE_ID_SHIFT   4

Enumeration Type Documentation

◆ BinaryInterruptState

enum BinaryInterruptState : int
strong
Enumerator
none 
form 
exchange 
collision