|
void | writeBinary (FILE *_fp) const |
| write class data to file with binary format More...
|
|
void | readBinary (FILE *_fin) |
| read class data to file with binary format More...
|
|
void | printColumn (std::ostream &_fout, const int _width=20) |
| print data of class members using column style More...
|
|
template<class Tpi , class Tpj > |
void | particleToSemiEccPeriod (const Tpi &_p1, const Tpj &_p2, const Float _G) |
| calcualte semi, ecc and period More...
|
|
Float | calcEccAnomaly (const Float _r) |
| calculate eccentric anomaly from separation (0-pi) More...
|
|
template<class Tptcl > |
void | calcOrbit (const Tptcl &_p1, const Tptcl &_p2, const Float _G) |
| calculate kepler Orbit from particles More...
|
|
template<class Tptcl > |
void | calcParticles (Tptcl &_p1, Tptcl &_p2, const Float &_G) |
| calculate two components from kepler Orbit More...
|
|
void | calcSemiFromPeriod (const Float &_G) |
| from period calculate semi-major axis More...
|
|
template<class Tptcl > |
void | calcParticlesEcca (Tptcl &_p1, Tptcl &_p2, const Float _ecca, const Float _G) const |
| calculate two components from kepler Orbit with input eccentricity anomaly More...
|
|
void | rotateToOriginalFrame (Float *_vec) |
| rotate position vector from binary rest-frame to original frame based on three angles More...
|
|
void | evolve (const Float _dt) |
| Solve kepler motion for dt. More...
|
|
void | print (std::ostream &_os) const |
|
void | printColumn (std::ostream &_fout, const int _width=20) |
| print data of class members using column style More...
|
|
void | writeBinary (FILE *_fp) const |
| write class data to file with binary format More...
|
|
void | readBinary (FILE *_fin) |
| read class data to file with binary format More...
|
|
void | writeAscii (std::ostream &_fout) const |
| write class data to file with ASCII format More...
|
|
void | readAscii (std::istream &_fin) |
| read class data to file with ASCII format More...
|
|
|
static void | printColumnTitle (std::ostream &_fout, const int _width=20) |
| print titles of class members using column style More...
|
|
template<class Tptcl > |
static void | orbitToParticle (Tptcl &_p1, Tptcl &_p2, const Binary &_bin, const Float &_ecca, const Float _G) |
| Orbit to position and velocity. More...
|
|
template<class Tptcl > |
static void | particleToOrbit (Binary &_bin, const Tptcl &_p1, const Tptcl &_p2, const Float _G) |
| position velocity to orbit More...
|
|
static Float | periodToSemi (const Float &_period, const Float &_mtot, const Float &_G) |
| from period calculate semi-major axis More...
|
|
static Float | semiToPeriod (const Float &_semi, const Float &_mtot, const Float &_G) |
| from semi-major axis calculate period; More...
|
|
template<class Tpi , class Tpj > |
static void | particleToSemiEcc (Float &_semi, Float &_ecc, Float &_r, Float &_rv, const Tpi &_p1, const Tpj &_p2, const Float _G) |
| position velocity to orbit semi-major axis and eccentricity More...
|
|
static Float | calcMeanAnomaly (const Float _ecca, const Float _ecc) |
| calculate mean anomaly from eccentric anomaly (0-pi) More...
|
|
static Float | calcEccAnomaly (const Float _mean_anomaly, const Float _ecc) |
| calculate eccentric anomaly from mean anomaly More...
|
|
static void | solveKepler (Binary &_bin, const Float _dt) |
| solve kepler orbit after dt More...
|
|
static void | printColumnTitle (std::ostream &_fout, const int _width=20) |
| print titles of class members using column style More...
|
|
binary parameter with slowdown