Dendro  5.01
Dendro in Greek language means tree. The Dendro library is a large scale (262K cores on ORNL's Titan) distributed memory adaptive octree framework. The main goal of Dendro is to perform large scale multiphysics simulations efficeiently in mordern supercomputers. Dendro consists of efficient parallel data structures and algorithms to perform variational ( finite element) methods and finite difference mthods on 2:1 balanced arbitary adaptive octrees which enables the users to perform simulations raning from black holes (binary black hole mergers) to blood flow in human body, where applications ranging from relativity, astrophysics to biomedical engineering.
hcurvedata.h
1 //
2 // @author Milinda Fernando
3 // School of Computing, University of Utah
4 
5 // NOTE: DO NOT CHANGE THIS FILE FOR ANY REASON. CHANGE OF THE VALUES IN THIS FILE MAY CAUSE INVALID HILBERT ORDERING
6 
7 
8 // This header file contains all the rotation permutations + hilbert rotation table data hard corded to improve the performance of the hilbert curve.
9 // Note that: Rotations contains the concatenated strings of rot_perm and rot_index.
10 // Created by Milinda Fernando
11 // on 10/2/15.
12 //
13 #ifndef DENDRO_HCURVEDATA_H
14 #define DENDRO_HCURVEDATA_H
15 
16 
17 #include <string.h>
18 #include <iostream>
19 #include <cstdlib>
20 #include <iostream>
21 //#include <stdlib>
22 #include<cstring>
23 #include<string>
24 
25 
26 
27 
28 
29 const int _2D_HILBERT_TABLE=16;
30 const int _3D_HILBERT_TABLE=192;
31 const int _2D_ROTATIONS_SIZE=32;
32 const int _3D_ROTATIONS_SIZE=384;
33 
34 
35 extern char* HILBERT_TABLE;
36 extern char* rotations;
37 
38 //#define DENDRO_DIM2
39 
40 void _InitializeHcurve(int pDim);
41 
42 
43 
44 
45 
46 
47 #endif //DENDRO_HCURVEDATA_H