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
IO Namespace Reference

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...
 

Detailed Description

Author
Milinda Fernando
Hari Sundar
Rahul Sampath

Constains all the IO related functionalities in dendro5

Function Documentation

◆ readDataPtsFromFile()

int IO::readDataPtsFromFile ( char *  filename,
std::vector< double > &  pts,
std::vector< double > &  ptVals 
)

Reads a list of points and corresponding values from a file.

Author
Ilya Lashuk
Parameters
filenamethe file name
ptsthe points
datathe values

◆ readNodesFromFile()

int IO::readNodesFromFile ( char *  filename,
std::vector< ot::TreeNode > &  nodes 
)

Reads a list of octants from a file.

Author
Rahul Sampath
Parameters
filenamethe file name
nodesthe octants

◆ readPtsFromFile()

int IO::readPtsFromFile ( char *  filename,
std::vector< double > &  pts 
)

Reads a list of points from a file.

Author
Rahul Sampath
Parameters
filenamethe file name
ptsthe points

◆ writeDataPtsToFile()

int IO::writeDataPtsToFile ( char *  filename,
std::vector< double > &  pts,
std::vector< double > &  data 
)

Writes a list of points and corresponding values from a file.

Author
Ilya Lashuk
Parameters
filenamethe file name
ptsthe points
datathe values

◆ writeNodesToFile()

int IO::writeNodesToFile ( char *  filename,
const std::vector< ot::TreeNode > &  nodes 
)

Writes a list of octants to a file.

Author
Rahul Sampath
Parameters
filenamethe file name
nodesthe octants

◆ writePtsToFile()

int IO::writePtsToFile ( char *  filename,
std::vector< double > &  pts 
)

Writes a list of points to a file.

Author
Rahul Sampath
Parameters
filenamethe file name
ptsthe points