PeTar
N-body code for collisional gravitational systems
ForceSoft Class Reference

#include <soft_ptcl.hpp>

Public Member Functions

void clear ()
 

gravitational constant

More...
 

Public Attributes

PS::F64vec acc
 
PS::F64 pot
 

soft acceleration (c.m.: averaged force from orbital particles; tensor: c.m. is substracted)

More...
 
PS::S64 n_ngb
 

full potential

More...
 

Static Public Attributes

static PS::F64 grav_const = 1.0
 

neighbor number+1

More...
 

Member Function Documentation

◆ clear()

void ForceSoft::clear ( )
inline

gravitational constant

Here is the caller graph for this function:

Member Data Documentation

◆ acc

PS::F64vec ForceSoft::acc

◆ grav_const

PS::F64 ForceSoft::grav_const = 1.0
static

neighbor number+1

◆ n_ngb

PS::S64 ForceSoft::n_ngb

full potential

◆ pot

PS::F64 ForceSoft::pot

soft acceleration (c.m.: averaged force from orbital particles; tensor: c.m. is substracted)


The documentation for this class was generated from the following files: