Swarm-NG  1.1
swarm::monitors::stop_on_close_encounter< log_t > Class Template Reference

Simple monitor to detect close encounters. More...

#include <stop_on_close_encounter.hpp>

Public Member Functions

GPUAPI bool pass_one (int thread_in_system)
 Check for close encounters and need_full_test status.
 
GPUAPI int pass_two (int thread_in_system)
 Check the system status, if deactivate.
 

Detailed Description

template<class log_t>
class swarm::monitors::stop_on_close_encounter< log_t >

Simple monitor to detect close encounters.

EXPERIMENTAL: This class is not thoroughly tested.

Signals and logs if current separation between any two bodies (measured in mutual Hill radii) is less than "close_approach". WARNING: Does not interpolate between steps

Definition at line 65 of file stop_on_close_encounter.hpp.


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