|
| ARInformation () |
|
bool | checkParams () |
| check whether parameters values are correct More...
|
|
void | printColumnTitle (std::ostream &_fout, const int _width=20) |
| print titles of class members using column style More...
|
|
void | printColumn (std::ostream &_fout, const int _width=20) |
| print data of class members using column style More...
|
|
void | reserveMem (const int _nmax) |
| reserve memory More...
|
|
void | clear () |
|
void | addParticlesAndCopyBinaryTree (COMM::ParticleGroup< Tparticle, ParticleH4< Tparticle >> &_particles, AR::BinaryTree< Tparticle > &_bin) |
| Initialize group of particles from a binarytree. More...
|
|
int | getTwoBranchParticleIndexOriginFromBinaryTree (int *_particle_index_origin_output, Tparticle *_first_particle_address) |
| get two branch particle index More...
|
|
void | getDrDv (Float &_dr2, Float &_drdv, Tparticle &_p1, Tparticle &_p2) |
| get dr * dv for two particles More...
|
|
| Information () |
|
a list of binary tree that contain the hierarchical orbital parameters of the particle group.
More...
|
|
bool | checkParams () |
| check whether parameters values are correct initialized More...
|
|
void | reserveMem (const int _nmax) |
| reserve memory of binarytree list More...
|
|
BinaryTree< Tparticle > & | getBinaryTreeRoot () const |
| get the root of binary tree More...
|
|
Float | calcDsElliptic (BinaryTree< Tparticle > &_bin, const Float &_G) |
|
Float | calcDsHyperbolic (BinaryTree< Tparticle > &_bin, const Float &_G) |
|
void | calcDsMinKeplerIter (Float &_ds_over_ebin_min_bin, Float &_ds_min_bin, Float &_ds_min_hyp, Float &_etot_sd, const Float &_G, const Float &_nest_sd_up, BinaryTree< Tparticle > &_bin, const int _intergrator_order) |
| iteration function to calculate average kepler ds for a binary tree More...
|
|
Float | calcDsKeplerBinaryTree (BinaryTree< Tparticle > &_bin, const int _int_order, const Float &_G, const Float &_ds_scale) |
| calculate average kepler ds iterately for a binary tree More...
|
|
void | calcDsAndStepOption (const int _int_order, const Float &_G, const Float &_ds_scale) |
| calculate ds from the inner most binary with minimum period, determine the fix step option More...
|
|
void | generateBinaryTree (COMM::ParticleGroup< Tparticle, ParticleH4< Tparticle > > &_particles, const Float _G) |
| generate binary tree for the particle group More...
|
|
bool | checkAndSetBinaryPairIDIter (BinaryTree< Tparticle > &_bin, const bool _reset_flag) |
| check binary tree member pair id, if consisent, return ture. otherwise set the member pair id More...
|
|
void | clear () |
| clear function More...
|
|
void | printColumnTitle (std::ostream &_fout, const int _width=20) |
| print titles of class members using column style More...
|
|
void | printColumn (std::ostream &_fout, const int _width=20) |
| print data of class members using column style More...
|
|
void | writeBinary (FILE *_fout) const |
| write class data to file with binary format More...
|
|
void | readBinary (FILE *_fin) |
| read class data to file with binary format More...
|
|
template<class Tparticle>
class H4::ARInformation< Tparticle >
contain group information