PeTar
N-body code for collisional gravitational systems
|
#include <soft_ptcl.hpp>
Public Member Functions | |
void | clear () |
More... | |
Public Attributes | |
PS::F64vec | acc |
PS::F64 | pot |
More... | |
PS::S64 | n_ngb |
More... | |
Static Public Attributes | |
static PS::F64 | grav_const = 1.0 |
More... | |
|
inline |
gravitational constant
PS::F64vec ForceSoft::acc |
|
static |
neighbor number+1
PS::S64 ForceSoft::n_ngb |
full potential
PS::F64 ForceSoft::pot |
soft acceleration (c.m.: averaged force from orbital particles; tensor: c.m. is substracted)