Perturber class for AR integration.
More...
#include <ar_perturber.hpp>
Perturber class for AR integration.
◆ NB
◆ ARPerturber()
ARPerturber::ARPerturber |
( |
| ) |
|
|
inline |
minimum soft perturbation
◆ calcSoftPertMin()
template<class Tptcl >
void ARPerturber::calcSoftPertMin |
( |
const AR::BinaryTree< Tptcl > & |
_bin, |
|
|
const Float |
_G |
|
) |
| |
|
inline |
calculate soft_pert_min for slowdown pert_out
\Delta F = G m_cm m_p (apo) / rp^3 Pert_out = \Delta F /(G apo)
- Parameters
-
[in] | _bin | binary parameters |
[in] | _G | gravitatioal constant |
◆ checkParams()
bool ARPerturber::checkParams |
( |
| ) |
|
|
inline |
◆ clear()
void ARPerturber::clear |
( |
| ) |
|
|
inline |
◆ findCloseSoftPert()
PS::S32 ARPerturber::findCloseSoftPert |
( |
TidalTensor * |
_tt, |
|
|
int & |
_n_tt, |
|
|
const int |
_n_max, |
|
|
const H4::ParticleH4< PtclHard > & |
_cm, |
|
|
const PS::F64 |
_gid |
|
) |
| |
|
inline |
find close tidal tensor and if (-) tensor group id is the same as input, initial tidal tensor c.m.
if the tidal tensor is already in used (group_id>=0), copy a new one after _n_tt
- Parameters
-
[in,out] | _tt | tensor array |
[in,out] | _n_tt | number of current tensor |
[in] | _n_max | maximum size of tensor array |
[in] | _cm | c.m. particle |
[in] | _gid | group id (not necessary integer) |
- Returns
- the tidal tensor index, if no match, return -1
◆ soft_pert
◆ soft_pert_min
Float ARPerturber::soft_pert_min |
The documentation for this class was generated from the following file: