15 #define PARTICLE_NODE_TYPE 0
16 #define NODE_NODE_TYPE 1
17 #define PSEUDO_NODE_TYPE 2
20 #define ALLMASK (1<<30)-1
23 #define STARMASK (1<<4)
int force_get_father(int no, const ForceTree *tt)
struct ForceTree ForceTree
void force_update_hmax(int *activeset, int size, ForceTree *tt, DomainDecomp *ddecomp)
void force_tree_rebuild(ForceTree *tree, DomainDecomp *ddecomp, const int HybridNuGrav, const int DoMoments, const char *EmergencyOutputDir)
int force_tree_allocated(const ForceTree *tt)
int force_tree_create_nodes(const ForceTree tb, const int npart, int mask, DomainDecomp *ddecomp, const int HybridNuGrav)
ForceTree force_treeallocate(int64_t maxnodes, int64_t maxpart, DomainDecomp *ddecomp)
static int node_is_node(int no, const ForceTree *tree)
void force_update_node_parallel(const ForceTree *tree, const DomainDecomp *ddecomp)
void force_tree_rebuild_mask(ForceTree *tree, DomainDecomp *ddecomp, int mask, const int HybridNuGrav, const char *EmergencyOutputDir)
void init_forcetree_params(const int FastParticleType)
void dump_particles(void)
static int node_is_particle(int no, const ForceTree *tree)
static int node_is_pseudo_particle(int no, const ForceTree *tree)
void force_tree_free(ForceTree *tt)
int moments_computed_flag
struct topleaf_data * TopLeaves
unsigned int DependsOnLocalMass
unsigned int InternalTopLevel
static const double tt[NEXACT]