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.
octUtilsBenchmark.h
1 //
2 // Created by milinda on 8/8/16.
3 
12 //
13 
14 #ifndef SFCSORTBENCH_OCTUTILSBENCHMARK_H
15 #define SFCSORTBENCH_OCTUTILSBENCHMARK_H
16 
17 #define ROOT_ROT_ID 0
18 
19 #include "genPts_par.h"
20 #include "TreeNode.h"
21 #include "dendro.h"
22 #include "parUtils.h"
23 #include "sfcSort.h"
24 #include "testUtils.h"
25 #include <mpi.h>
26 
27 /*
28  *
29  * stat data structure to store weak scaling run statistics.
30  *
31  * */
32 
34 {
35  unsigned int npes;
36  unsigned int numPts;
37  double tolerance;
38  unsigned int options;
39  std::vector<double> stats;
40  std::vector<double> stats_prev;
41 
42  RuntimeStat()
43  {
44  npes=0;
45  numPts=0;
46  tolerance=0;
47  options=0;
48  stats.clear();
49  stats_prev.clear();
50  }
51 
52 };
53 
54 
55 
56 
57 /*
58  * Executes the treeSort with the options =1 Which removes the duplicates from the given input and sort it.
59  * */
60 
61 void sfcTreeSortTest(DendroIntL numPts, unsigned int dim, unsigned int maxDepth, double tolerance, int distribution,
62  unsigned int k, unsigned int options, unsigned int sf_k,char *prefix, MPI_Comm pcomm);
63 
64 void weakScalingDriver(DendroIntL numPts,unsigned int dim,unsigned int maxDepth,double tolerance,int distribution,unsigned int k,unsigned int options,unsigned int sf_k,char * prefix,MPI_Comm comm);
65 
66 
67 
68 
69 
70 #endif //SFCSORTBENCH_OCTUTILSBENCHMARK_H
A set of parallel utilities.
Definition: octUtilsBenchmark.h:33
A Set of utilities to test octrees.