GADGET-4
|
#include <ngbtree.h>
Inherits tree< ngbnode, simparticles, ngbpoint_data, foreign_sphpoint_data >.
Inherited by sph.
Public Types | |
typedef tree< ngbnode, simparticles, ngbpoint_data, foreign_sphpoint_data > | basetree |
Public Types inherited from tree< ngbnode, simparticles, ngbpoint_data, foreign_sphpoint_data > | |
enum | ftype |
typedef decltype(Tp->P) | pdata |
Public Member Functions | |
void | update_velocities (void) |
void | update_maxhsml (void) |
void | update_vbounds (int i, int *nchanged, int *nodelist, char *flag_changed) |
void | check_bounds (void) |
void | update_node_recursive (int no, int sib, int mode) override |
void | exchange_topleafdata (void) override |
void | fill_in_export_points (ngbpoint_data *exp_point, int i, int no) override |
void | report_log_message (void) override |
Public Member Functions inherited from tree< ngbnode, simparticles, ngbpoint_data, foreign_sphpoint_data > | |
void | tree_add_to_fetch_stack (ngbnode *nop, int nodetoopen, unsigned char shmrank) |
void | tree_add_to_work_stack (int target, int no, unsigned char shmrank, int mintopleafnode) |
void | prepare_shared_memory_access (void) |
void | cleanup_shared_memory_access (void) |
void | tree_fetch_foreign_nodes (enum ftype fetch_type) |
void | tree_initialize_leaf_node_access_info (void) |
foreign_sphpoint_data * | get_foreignpointsp (int n, unsigned char shmrank) |
subfind_data * | get_PSp (int n, unsigned char shmrank) |
pdata | get_Pp (int n, unsigned char shmrank) |
sph_particle_data * | get_SphPp (int n, unsigned char shmrank) |
tree () | |
int | treebuild (int ninsert, int *indexlist) |
void | treefree (void) |
void | treeallocate (int max_partindex, simparticles *Pptr, domain< simparticles > *Dptr) |
void | treeallocate_share_topnode_addresses (void) |
void | tree_export_node_threads (int no, int i, thread_data *thread, offset_tuple off=0) |
void | tree_export_node_threads_by_task_and_node (int task, int nodeindex, int i, thread_data *thread, offset_tuple off=0) |
ngbnode * | get_nodep (int no) |
ngbnode * | get_nodep (int no, unsigned char shmrank) |
int * | get_nextnodep (unsigned char shmrank) |
ngbpoint_data * | get_pointsp (int no, unsigned char shmrank) |
void | tree_get_node_and_task (int i, int &no, int &task) |
typedef tree<ngbnode, simparticles, ngbpoint_data, foreign_sphpoint_data> basetree |
void check_bounds | ( | void | ) |
Definition at line 160 of file ngbtree_build.cc.
|
overridevirtual |
Implements tree< ngbnode, simparticles, ngbpoint_data, foreign_sphpoint_data >.
Definition at line 46 of file ngbtree_build.cc.
|
overridevirtual |
Implements tree< ngbnode, simparticles, ngbpoint_data, foreign_sphpoint_data >.
Definition at line 44 of file ngbtree_build.cc.
|
overridevirtual |
Implements tree< ngbnode, simparticles, ngbpoint_data, foreign_sphpoint_data >.
Definition at line 35 of file ngbtree_build.cc.
void update_maxhsml | ( | void | ) |
Definition at line 697 of file ngbtree_build.cc.
|
overridevirtual |
this routine determines the node ranges a given internal node and all its subnodes using a recursive computation. The result is stored in the Nodes[] structure in the sequence of this tree-walk. mode = 0: process a leaf branch, mode = 1: process top-level nodes
Implements tree< ngbnode, simparticles, ngbpoint_data, foreign_sphpoint_data >.
Definition at line 254 of file ngbtree_build.cc.
void update_vbounds | ( | int | i, |
int * | nchanged, | ||
int * | nodelist, | ||
char * | flag_changed | ||
) |
Definition at line 410 of file ngbtree_build.cc.
void update_velocities | ( | void | ) |
Definition at line 664 of file ngbtree_build.cc.