HNBody
Version 1.0.10
|
User control callback information. More...
#include <expert.h>
Data Fields | |
int * | prune |
This structure is passed to hnb_user_exam_func to allow users to modify actions performed by HNBody during the following step.
The prune vector allows users to control the pruning of individual particles each step. Setting an element to -1, 0, or +1 requests the default action (significantly hyperbolic particles are pruned), disables pruning, or requests immediate pruning, respectively. The contents of this vector is automatically reset to -1 before each call to hnb_user_exam_func. Note that the input file must specify PruneCollisions = true for pruning requests to be honored and that (currently) only Symplectic integrations support pruning.
int* hnb_ctrl_struct::prune |
Particle pruning control.
Referenced by hnb_raw_init().