MP-Gadget  5.0.1.dev1-76bc7d4726-dirty
Public Attributes | List of all members
ForceTree Struct Reference

#include <forcetree.h>

Collaboration diagram for ForceTree:
[legend]

Public Attributes

int tree_allocated_flag
 
int hmax_computed_flag
 
int moments_computed_flag
 
int firstnode
 
int lastnode
 
int numnodes
 
int mask
 
struct topleaf_dataTopLeaves
 
int NTopLeaves
 
struct NODENodes
 
struct NODENodes_base
 
int * Father
 
int nfather
 
double BoxSize
 

Detailed Description

Definition at line 76 of file forcetree.h.

Member Data Documentation

◆ BoxSize

double ForceTree::BoxSize

◆ Father

int* ForceTree::Father

◆ firstnode

int ForceTree::firstnode

◆ hmax_computed_flag

int ForceTree::hmax_computed_flag

Definition at line 80 of file forcetree.h.

Referenced by force_tree_build(), force_update_hmax(), and hydro_force().

◆ lastnode

int ForceTree::lastnode

◆ mask

int ForceTree::mask

Definition at line 90 of file forcetree.h.

Referenced by force_tree_build(), and treewalk_visit_ngbiter().

◆ moments_computed_flag

int ForceTree::moments_computed_flag

Definition at line 82 of file forcetree.h.

Referenced by force_tree_build(), force_tree_rebuild(), and grav_short_tree().

◆ nfather

int ForceTree::nfather

Store the size of the box used to build the tree, for periodic walking.

Definition at line 104 of file forcetree.h.

Referenced by force_treeallocate().

◆ Nodes

struct NODE* ForceTree::Nodes

◆ Nodes_base

struct NODE* ForceTree::Nodes_base

gives parent node in tree for every particle

Definition at line 101 of file forcetree.h.

Referenced by do_tree_test(), force_tree_build(), force_tree_free(), force_treeallocate(), and sfr_reserve_slots().

◆ NTopLeaves

int ForceTree::NTopLeaves

this is a pointer used to access the nodes which is shifted such that Nodes[firstnode] gives the first allocated node

Definition at line 94 of file forcetree.h.

Referenced by _prepare(), force_tree_rebuild(), force_tree_rebuild_mask(), and force_treeallocate().

◆ numnodes

int ForceTree::numnodes

◆ TopLeaves

struct topleaf_data* ForceTree::TopLeaves

Definition at line 92 of file forcetree.h.

Referenced by force_treeallocate(), and treewalk_export_particle().

◆ tree_allocated_flag

int ForceTree::tree_allocated_flag

Definition at line 78 of file forcetree.h.

Referenced by force_tree_allocated(), force_tree_free(), and force_treeallocate().


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