stability checker for binary tree
More...
#include <stability.hpp>
|
typedef COMM::BinaryTree< Tptcl, COMM::Binary > | BinTree |
|
typedef COMM::Binary | Bin |
|
|
static PS::F64 | stable3body (const Bin &_bin_in, const Bin &_bin_out, const PS::F64 _incline, const PS::F64 _t_crit, const bool is_cm_in_first) |
| Three-body stability function. More...
|
|
static bool | stable2check (const Bin &_bin, const PS::F64 _r_crit, const PS::F64 _t_crit) |
| check two-body stability More...
|
|
static bool | stable3check (const Bin &_bin, const Bin &_bout, const PS::F64 _r_crit, const PS::F64 _t_crit, const PS::F64 _is_cm_in_first) |
| Three-body (B-S) stability check. More...
|
|
static bool | stable4check (const Bin &_bin1, const Bin &_bin2, const Bin &_bout, const PS::F64 _r_crit, const PS::F64 _t_crit) |
| Four-body (B-B) stability check. More...
|
|
static PS::S32 | closedSystemCheckIter (Stability &_stab, const PS::S32 &_stab_res1, const PS::S32 &_stab_res2, BinTree &_bin) |
| Closed system check iteration function for BinaryTree. More...
|
|
static PS::S32 | stabilityCheckIter (Stability &_stab, const PS::S32 &_stab_res1, const PS::S32 &_stab_res2, BinTree &_bin) |
| Stability check iteraction function for BinaryTree. More...
|
|
template<class Tptcl>
class Stability< Tptcl >
stability checker for binary tree
◆ Bin
◆ BinTree
◆ Stability()
◆ clear()
◆ closedSystemCheckIter()
template<class Tptcl >
static PS::S32 Stability< Tptcl >::closedSystemCheckIter |
( |
Stability< Tptcl > & |
_stab, |
|
|
const PS::S32 & |
_stab_res1, |
|
|
const PS::S32 & |
_stab_res2, |
|
|
BinTree & |
_bin |
|
) |
| |
|
inlinestatic |
Closed system check iteration function for BinaryTree.
check whether the orbit is closed system with apo-center distance less than r_group
- Parameters
-
[in,out] | _stab | stability class |
[in] | _stab_res1/2 | results from iteration of two branches. -1: branch is one particle; 0: unstable branch; 1: stable branch |
[in] | _bins | binary tree data |
◆ findClosedTree()
Check binary tree and collect closed systems subtree root.
Check the orbit of each binary and if apo-center distance is positive and < bin.getRGroup(), selected as candidates. subtrees are stored in stable_binary_tree.
- Parameters
-
[in] | _bins | binary tree data |
◆ findStableTree()
Check binary tree and collect stable subtree.
- Parameters
-
[in] | _bins | binary tree data |
◆ stabilityCheckIter()
template<class Tptcl >
static PS::S32 Stability< Tptcl >::stabilityCheckIter |
( |
Stability< Tptcl > & |
_stab, |
|
|
const PS::S32 & |
_stab_res1, |
|
|
const PS::S32 & |
_stab_res2, |
|
|
BinTree & |
_bin |
|
) |
| |
|
inlinestatic |
Stability check iteraction function for BinaryTree.
Check stability of binary, triple and B-B for given binarytree, for sub branch of stable systems, save to stable_binary_tree
- Parameters
-
[in,out] | _stab | stability class |
[in] | _stab_res1/2 | results from iteration of two branches. -1: branch is one particle; 0: unstable branch; 1: stable branch |
[in] | _bins | binary tree data |
◆ stable2check()
template<class Tptcl >
static bool Stability< Tptcl >::stable2check |
( |
const Bin & |
_bin, |
|
|
const PS::F64 |
_r_crit, |
|
|
const PS::F64 |
_t_crit |
|
) |
| |
|
inlinestatic |
◆ stable3body()
template<class Tptcl >
static PS::F64 Stability< Tptcl >::stable3body |
( |
const Bin & |
_bin_in, |
|
|
const Bin & |
_bin_out, |
|
|
const PS::F64 |
_incline, |
|
|
const PS::F64 |
_t_crit, |
|
|
const bool |
is_cm_in_first |
|
) |
| |
|
inlinestatic |
Three-body stability function.
◆ stable3check()
template<class Tptcl >
static bool Stability< Tptcl >::stable3check |
( |
const Bin & |
_bin, |
|
|
const Bin & |
_bout, |
|
|
const PS::F64 |
_r_crit, |
|
|
const PS::F64 |
_t_crit, |
|
|
const PS::F64 |
_is_cm_in_first |
|
) |
| |
|
inlinestatic |
Three-body (B-S) stability check.
◆ stable4check()
template<class Tptcl >
static bool Stability< Tptcl >::stable4check |
( |
const Bin & |
_bin1, |
|
|
const Bin & |
_bin2, |
|
|
const Bin & |
_bout, |
|
|
const PS::F64 |
_r_crit, |
|
|
const PS::F64 |
_t_crit |
|
) |
| |
|
inlinestatic |
Four-body (B-B) stability check.
◆ stable_binary_tree
◆ t_crit
The documentation for this class was generated from the following file: