SPH
Public Member Functions | Public Attributes | List of all members
BarnesHut::TreeWalkState Struct Reference

Data passed into each node during treewalk. More...

#include <BarnesHut.h>

Public Member Functions

TreeWalkState clone () const
 Clones all lists in the state object. More...
 

Public Attributes

List< SizecheckList
 
Array< SizeparticleList
 Indices of nodes where the exact (pair-wise) gravity solution have to be used. More...
 
Array< SizenodeList
 Indices of nodes that shall be evaluated using multipole approximation. More...
 
Size depth = 0
 Current depth in the tree; root node has depth equal to zero. More...
 

Detailed Description

Data passed into each node during treewalk.

Definition at line 125 of file BarnesHut.h.

Member Function Documentation

◆ clone()

BarnesHut::TreeWalkState BarnesHut::TreeWalkState::clone ( ) const

Clones all lists in the state object.

Definition at line 175 of file BarnesHut.cpp.

Member Data Documentation

◆ checkList

List<Size> BarnesHut::TreeWalkState::checkList

Indices of nodes that need to be checked for intersections with opening ball of the evaluated node. If the opening ball does not intersect the node box, the node is moved into the node interaction list. If the node box is contained within the opening ball, the node is moved into the particle interaction list.

Definition at line 130 of file BarnesHut.h.

◆ depth

Size BarnesHut::TreeWalkState::depth = 0

Current depth in the tree; root node has depth equal to zero.

Definition at line 139 of file BarnesHut.h.

◆ nodeList

Array<Size> BarnesHut::TreeWalkState::nodeList

Indices of nodes that shall be evaluated using multipole approximation.

Definition at line 136 of file BarnesHut.h.

◆ particleList

Array<Size> BarnesHut::TreeWalkState::particleList

Indices of nodes where the exact (pair-wise) gravity solution have to be used.

Definition at line 133 of file BarnesHut.h.


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