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

Simple monitor that signals and logs when no more than two bodies are within a distance "rmax" of origin or another body. More...

#include <stop_on_all_but_two_at_large_distance.hpp>

Public Member Functions

GPUAPI bool pass_one (int thread_in_system)
 Check if need full test.
 
GPUAPI int pass_two (int thread_in_system)
 Check the system state if it should be deactivated.
 

Detailed Description

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

Simple monitor that signals and logs when no more than two bodies are within a distance "rmax" of origin or another body.

EXPERIMENTAL: This class is not thoroughly tested.

Definition at line 68 of file stop_on_all_but_two_at_large_distance.hpp.


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