![]() |
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.
|
Functions | |
int | readPtsFromFile (char *filename, std::vector< double > &pts) |
Reads a list of points from a file. More... | |
int | readDataPtsFromFile (char *filename, std::vector< double > &pts, std::vector< double > &ptVals) |
Reads a list of points and corresponding values from a file. More... | |
int | writePtsToFile (char *filename, std::vector< double > &pts) |
Writes a list of points to a file. More... | |
int | writeDataPtsToFile (char *filename, std::vector< double > &pts, std::vector< double > &data) |
Writes a list of points and corresponding values from a file. More... | |
int | writeNodesToFile (char *filename, const std::vector< ot::TreeNode > &nodes) |
Writes a list of octants to a file. More... | |
int | readNodesFromFile (char *filename, std::vector< ot::TreeNode > &nodes) |
Reads a list of octants from a file. More... | |
Constains all the IO related functionalities in dendro5
int IO::readDataPtsFromFile | ( | char * | filename, |
std::vector< double > & | pts, | ||
std::vector< double > & | ptVals | ||
) |
Reads a list of points and corresponding values from a file.
filename | the file name |
pts | the points |
data | the values |
int IO::readNodesFromFile | ( | char * | filename, |
std::vector< ot::TreeNode > & | nodes | ||
) |
Reads a list of octants from a file.
filename | the file name |
nodes | the octants |
int IO::readPtsFromFile | ( | char * | filename, |
std::vector< double > & | pts | ||
) |
Reads a list of points from a file.
filename | the file name |
pts | the points |
int IO::writeDataPtsToFile | ( | char * | filename, |
std::vector< double > & | pts, | ||
std::vector< double > & | data | ||
) |
Writes a list of points and corresponding values from a file.
filename | the file name |
pts | the points |
data | the values |
int IO::writeNodesToFile | ( | char * | filename, |
const std::vector< ot::TreeNode > & | nodes | ||
) |
Writes a list of octants to a file.
filename | the file name |
nodes | the octants |
int IO::writePtsToFile | ( | char * | filename, |
std::vector< double > & | pts | ||
) |
Writes a list of points to a file.
filename | the file name |
pts | the points |