PeTar
N-body code for collisional gravitational systems
|
#include <cassert>
#include "v2r8.h"
Go to the source code of this file.
Classes | |
class | PhantomGrapeQuad |
Enumerations | |
enum | { NIMAX = 2048, NJMAX = 262144 } |
Functions | |
class PhantomGrapeQuad | __attribute__ ((aligned(128))) |
PhantomGrapeQuad () | |
void | set_eps2 (const double _eps2) |
void | set_r_crit2 (const double _r_crit2) |
void | set_cutoff (const double _r_out, const double _r_in) |
void | set_epj_one (const int addr, const double x, const double y, const double z, const double m, const double r_search) |
template<typename EPJ_t > | |
void | set_epj (const int nj, const EPJ_t epj[]) |
void | set_spj_one (const int addr, const double x, const double y, const double z, const double m, const double qxx, const double qyy, const double qzz, const double qxy, const double qyz, const double qzx) |
template<typename SPJ_t > | |
void | set_spj (const int nj, const SPJ_t spj[]) |
void | set_xi_one (const int addr, const double x, const double y, const double z, const double r_search) |
template<typename EPI_t > | |
void | set_xi (const int ni, const EPI_t spj[]) |
template<typename real_t > | |
void | get_accp_one (const int addr, real_t &ax, real_t &ay, real_t &az, real_t &pot) |
template<typename real_t > | |
void | get_accp_one (const int addr, real_t &ax, real_t &ay, real_t &az, real_t &pot, real_t &nngb) |
template<typename real_t > | |
void | accum_accp_one (const int addr, real_t &ax, real_t &ay, real_t &az, real_t &pot) |
template<typename real_t > | |
void | accum_accp_one (const int addr, real_t &ax, real_t &ay, real_t &az, real_t &pot, real_t &nngb) |
void | run_epj (const int ni, const int nj) |
void | run_epj_for_p3t_with_linear_cutoff (const int ni, const int nj) |
void | run_spj (const int ni, const int nj) |
class PhantomGrapeQuad __attribute__ | ( | (aligned(128)) | ) |
void __attribute__::accum_accp_one | ( | const int | addr, |
real_t & | ax, | ||
real_t & | ay, | ||
real_t & | az, | ||
real_t & | pot | ||
) |
void __attribute__::accum_accp_one | ( | const int | addr, |
real_t & | ax, | ||
real_t & | ay, | ||
real_t & | az, | ||
real_t & | pot, | ||
real_t & | nngb | ||
) |
void __attribute__::get_accp_one | ( | const int | addr, |
real_t & | ax, | ||
real_t & | ay, | ||
real_t & | az, | ||
real_t & | pot | ||
) |
void __attribute__::get_accp_one | ( | const int | addr, |
real_t & | ax, | ||
real_t & | ay, | ||
real_t & | az, | ||
real_t & | pot, | ||
real_t & | nngb | ||
) |
__attribute__::PhantomGrapeQuad | ( | ) |
void __attribute__::run_epj | ( | const int | ni, |
const int | nj | ||
) |
void __attribute__::run_epj_for_p3t_with_linear_cutoff | ( | const int | ni, |
const int | nj | ||
) |
void __attribute__::run_spj | ( | const int | ni, |
const int | nj | ||
) |
void __attribute__::set_cutoff | ( | const double | _r_out, |
const double | _r_in | ||
) |
void __attribute__::set_epj | ( | const int | nj, |
const EPJ_t | epj[] | ||
) |
void __attribute__::set_epj_one | ( | const int | addr, |
const double | x, | ||
const double | y, | ||
const double | z, | ||
const double | m, | ||
const double | r_search | ||
) |
void __attribute__::set_eps2 | ( | const double | _eps2 | ) |
void __attribute__::set_r_crit2 | ( | const double | _r_crit2 | ) |
void __attribute__::set_spj | ( | const int | nj, |
const SPJ_t | spj[] | ||
) |
void __attribute__::set_spj_one | ( | const int | addr, |
const double | x, | ||
const double | y, | ||
const double | z, | ||
const double | m, | ||
const double | qxx, | ||
const double | qyy, | ||
const double | qzz, | ||
const double | qxy, | ||
const double | qyz, | ||
const double | qzx | ||
) |
void __attribute__::set_xi | ( | const int | ni, |
const EPI_t | spj[] | ||
) |
void __attribute__::set_xi_one | ( | const int | addr, |
const double | x, | ||
const double | y, | ||
const double | z, | ||
const double | r_search | ||
) |