PeTar
N-body code for collisional gravitational systems
Escaper Class Reference

escaper checker More...

#include <escaper.hpp>

Public Member Functions

 Escaper ()
 
template<class Tptcl , class Tpcm >
bool isEscaper (Tptcl &_p, Tpcm &_pcm)
 check escaper based on distance and c.m. of the system More...
 

Public Attributes

PS::F64 r_escape_sq
 
bool check_energy_flag
 

Detailed Description

escaper checker

Constructor & Destructor Documentation

◆ Escaper()

Escaper::Escaper ( )
inline

Member Function Documentation

◆ isEscaper()

template<class Tptcl , class Tpcm >
bool Escaper::isEscaper ( Tptcl &  _p,
Tpcm &  _pcm 
)
inline

check escaper based on distance and c.m. of the system

Member Data Documentation

◆ check_energy_flag

bool Escaper::check_energy_flag

◆ r_escape_sq

PS::F64 Escaper::r_escape_sq

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