|
| HermiteInteraction () |
|
bool | checkParams () |
| check whether parameters values are correct More...
|
|
void | print (std::ostream &_fout) const |
| print parameters More...
|
|
template<class Tpi , class Tpj > |
Float | calcR2Pair (const Tpi &_pi, const Tpj &_pj) |
| calculate separation square between i and j particles More...
|
|
template<class Tpi , class Tpj > |
Float | calcAccJerkPairSingleSingle (H4::ForceH4 &_fi, const Tpi &_pi, const Tpj &_pj) |
| calculate acceleration and jerk of one pair More...
|
|
template<class Tpi , class Tgroup > |
Float | calcAccJerkPairSingleGroupMember (H4::ForceH4 &_fi, const Tpi &_pi, const Tgroup &_gj) |
| calculate acceleration and jerk of one pair single and resolved group More...
|
|
template<class Tpi , class Tgroup , class Tpcmj > |
Float | calcAccJerkPairSingleGroupCM (H4::ForceH4 &_fi, const Tpi &_pi, const Tgroup &_gj, const Tpcmj &_pj) |
| calculate acceleration and jerk of one pair single and resolved group More...
|
|
template<class Tgroup , class Tpcmi , class Tpj > |
Float | calcAccJerkPairGroupCMSingle (H4::ForceH4 &_fi, const Tgroup &_gi, const Tpcmi &_pi, const Tpj &_pj) |
| calculate acceleration and jerk of one pair group cm and single More...
|
|
template<class Tpi , class Tgroup > |
Float | calcAccJerkPairGroupCMGroupMember (H4::ForceH4 &_fi, const Tgroup &_gi, const Tpi &_pi, const Tgroup &_gj) |
| calculate acceleration and jerk of one pair group cm and resolved group More...
|
|
template<class Tpcmi , class Tgroup , class Tpcmj > |
Float | calcAccJerkPairGroupCMGroupCM (H4::ForceH4 &_fi, const Tgroup &_gi, const Tpcmi &_pi, const Tgroup &_gj, const Tpcmj &_pj) |
| calculate acceleration and jerk of one pair single and resolved group More...
|
|
template<class Tpi , class Tpj > |
Float | calcEnergyPotSingleSingle (const Tpi &pi, const Tpj &pj) |
| calculate pair potential energy More...
|
|
template<class Tgroup , class Tpert > |
Float | calcEnergyPertOneGroup (const Tgroup &_group, const Tpert &_perturber) |
| calculate peturbation energy to one group More...
|
|
template<class Tp , class Tgroup , class Tpert > |
void | calcEnergy (H4::HermiteEnergy &_energy, const Tp *_particles, const int _n_particle, const Tgroup *_groups, const int *_group_index, const int _n_group, const Tpert &_perturber) |
| calculate kinetic and potential energy of the system 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...
|
|
hermite interaction class