GADGET-4
|
#include <foftree.h>
Inherits tree< fofnode, partset, fofpoint_data, foreign_fofpoint_data >.
Public Types | |
typedef tree< fofnode, partset, fofpoint_data, foreign_fofpoint_data > | basetree |
Public Types inherited from tree< fofnode, partset, fofpoint_data, foreign_fofpoint_data > | |
enum | ftype |
typedef decltype(Tp->P) | pdata |
Public Member Functions | |
void | update_node_recursive (int no, int sib, int mode) override |
void | exchange_topleafdata (void) override |
void | fill_in_export_points (fofpoint_data *exp_point, int i, int no) override |
void | report_log_message (void) override |
int | treefind_fof_primary (MyIntPosType *searchcenter, MyNgbTreeFloat hsml, int target, int mode, thread_data *thread, int numnodes, node_info *firstnode, int *ngblist, MyIDStorage target_MinID, int target_MinIDTask, double target_DistanceOrigin) |
int | treefind_fof_return_a_particle_in_cell_recursive (int no) |
void | fof_link_particles_in_cell_recursive (int no, int q) |
int | treefind_fof_check_single_node_for_full_linking (int no) |
Public Member Functions inherited from tree< fofnode, partset, fofpoint_data, foreign_fofpoint_data > | |
void | tree_add_to_fetch_stack (fofnode *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_fofpoint_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, partset *Pptr, domain< partset > *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) |
fofnode * | get_nodep (int no) |
fofnode * | get_nodep (int no, unsigned char shmrank) |
int * | get_nextnodep (unsigned char shmrank) |
fofpoint_data * | get_pointsp (int no, unsigned char shmrank) |
void | tree_get_node_and_task (int i, int &no, int &task) |
Additional Inherited Members | |
Static Public Member Functions inherited from tree< fofnode, partset, fofpoint_data, foreign_fofpoint_data > | |
static bool | compare_ghostrank (const fetch_data &a, const fetch_data &b) |
static bool | compare_workstack (const workstack_data &a, const workstack_data &b) |
typedef tree<fofnode, partset, fofpoint_data, foreign_fofpoint_data> basetree |
|
overridevirtual |
Implements tree< fofnode, partset, fofpoint_data, foreign_fofpoint_data >.
Definition at line 52 of file foftree_build.cc.
|
overridevirtual |
Implements tree< fofnode, partset, fofpoint_data, foreign_fofpoint_data >.
Definition at line 46 of file foftree_build.cc.
void fof_link_particles_in_cell_recursive | ( | int | no, |
int | q | ||
) |
|
overridevirtual |
Implements tree< fofnode, partset, fofpoint_data, foreign_fofpoint_data >.
Definition at line 36 of file foftree_build.cc.
int treefind_fof_check_single_node_for_full_linking | ( | int | no | ) |
int treefind_fof_primary | ( | MyIntPosType * | searchcenter, |
MyNgbTreeFloat | hsml, | ||
int | target, | ||
int | mode, | ||
thread_data * | thread, | ||
int | numnodes, | ||
node_info * | firstnode, | ||
int * | ngblist, | ||
MyIDStorage | target_MinID, | ||
int | target_MinIDTask, | ||
double | target_DistanceOrigin | ||
) |
int treefind_fof_return_a_particle_in_cell_recursive | ( | int | no | ) |
|
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< fofnode, partset, fofpoint_data, foreign_fofpoint_data >.
Definition at line 149 of file foftree_build.cc.