SPH
|
#include <BarnesHut.h>
Public Member Functions | |
BarnesHutNode (const Type &type) | |
![]() | |
KdNode (const Type &type) | |
INLINE bool | isLeaf () const |
![]() | |
Noncopyable ()=default | |
Noncopyable (const Noncopyable &)=delete | |
Noncopyable (Noncopyable &&)=default | |
Noncopyable & | operator= (const Noncopyable &)=delete |
Noncopyable & | operator= (Noncopyable &&)=default |
Public Attributes | |
Vector | com |
Center of mass of contained particles. More... | |
MultipoleExpansion< 3 > | moments |
Gravitational moments with a respect to the center of mass, using expansion to octupole order. More... | |
Float | r_open |
![]() | |
Type | type |
Box | box |
Bounding box of particles in the node. More... | |
Additional Inherited Members | |
![]() | |
enum class | Type : Size { X , Y , Z , LEAF } |
Here X, Y, Z must be 0, 1, 2. More... | |
Definition at line 21 of file BarnesHut.h.
|
inline |
Definition at line 32 of file BarnesHut.h.
Vector BarnesHutNode::com |
Center of mass of contained particles.
Definition at line 23 of file BarnesHut.h.
MultipoleExpansion<3> BarnesHutNode::moments |
Gravitational moments with a respect to the center of mass, using expansion to octupole order.
Definition at line 26 of file BarnesHut.h.
Float BarnesHutNode::r_open |
Opening radius of the node; see Eq. (2.36) of Stadel PhD thesis
Definition at line 30 of file BarnesHut.h.