-
Notifications
You must be signed in to change notification settings - Fork 1
/
domain.h
43 lines (41 loc) · 1.8 KB
/
domain.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef ALLVARS_H
#include "allvars.h"
#endif
/*
* This file was originally part of the GADGET3 code developed by
* Volker Springel. The code has been modified
* slightly by Phil Hopkins (phopkins@caltech.edu) for GIZMO.
*/
double domain_particle_cost_multiplier(int i);
void domain_findSplit_work_balanced(int ncpu, int ndomain);
void domain_findSplit_load_balanced(int ncpu, int ndomain);
int domain_sort_loadorigin(const void *a, const void *b);
int domain_sort_segments(const void *a, const void *b);
void domain_assign_load_or_work_balanced(int mode, int multipledomains);
void domain_allocate(void);
int domain_check_memory_bound(int multipledomains);
int domain_compare_key(const void *a, const void *b);
int domain_compare_key(const void *a, const void *b);
int domain_compare_toplist(const void *a, const void *b);
double domain_particle_costfactor(int i);
int domain_countToGo(size_t nlimit);
void domain_Decomposition(int UseAllTimeBins, int SaveKeys, int do_particle_mergesplit_key);
int domain_decompose(void);
int domain_determineTopTree(void);
void domain_findExtent(void);
void domain_exchange(void);
void domain_findSplit(int cpustart, int ncpu, int first, int last);
void domain_findSplit_balanced(int cpustart, int ncpu, int first, int last);
void domain_free(void);
void domain_shiftSplit(void);
void domain_sumCost(void);
int domain_topsplit(int node, peanokey startkey);
int domain_topsplit_local(int node, peanokey startkey, int mode);
int domain_topsplit_special(void);
int domain_compare_key(const void *a, const void *b);
int domain_check_for_local_refine(int i, double countlimit, double costlimit);
void domain_free_trick(void);
void domain_allocate_trick(void);
int domain_recursively_combine_topTree(int start, int ncpu);
void domain_walktoptree(int no);
void mysort_domain(void *b, size_t n, size_t s);