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.
interpMatrices.h
1 //
2 // Created by milinda on 1/15/17.
3 //
4 
5 
18 #ifndef SFCSORTBENCH_INTERPOLATIONMATRICES_H
19 #define SFCSORTBENCH_INTERPOLATIONMATRICES_H
20 
21 
22 static double IP_1D_Order_1_0 [] ={1 ,0.5, 0.0 ,0.5 };
23 static double IP_1D_Order_1_1 [] ={0.5, 0 , 0.5 ,1 };
24 
25 
26 static double IP_1D_Order_2_0 [] ={1.0 ,0.375 ,0.0 ,
27  0.0 ,0.75 ,1.0,
28  0 ,-0.1250,0 };
29 
30 static double IP_1D_Order_2_1 [] ={0.0 ,-0.1249 ,0.0 ,
31  1.0 ,0.75 ,0.0 ,
32  0.0 ,0.3749,1.0 };
33 
34 static double IP_1D_Order_4_0 [] ={1.0, 0.2734375, 0.0, -0.0390625, 0.0 ,
35  0.0, 1.09375, 1.0 , 0.46875, 0.0 ,
36  0.0, -0.546875, 0.0, 0.703125 ,1 ,
37  0.0, 0.21875, 0.0, -0.15625, 0.0,
38  0.0, -0.0390625, 0.0, 0.0234375, 0.0 };
39 
40 static double IP_1D_Order_4_1 [] ={0.0, 0.0234375, 0.0, -0.03906245, 0.0,
41  0.0, -0.15625, 0.0, 0.21875, 0.0,
42  1.0 , 0.703125, 0.0, -0.546875, 0.0,
43  0.0, 0.46875, 1.0, 1.09375, 0.0,
44  0.0, -0.0390625, 0.0, 0.2734375, 1.0 };
45 
46 // special intergrid transfer operator based on symetric stencil coefficients.
47 static double IP_1D_FD_Order_5[]={ 3.0/256.0 ,-25.0/256.0 , 75.0/128.0 , 75.0/128.0 , -25.0/256.0 , 3.0/256.0};
48 
49 static double IP_1D_FD_Order_4[]={ -1.0/16.0 ,9.0/16.0 , 9.0/16.0 , -1.0/16.0};
50 
51 
52 
53 #endif //SFCSORTBENCH_INTERPOLATIONMATRICES_H