ESyS-Particle  2.3.4
readSnap.h File Reference
#include <string>
#include "graph.h"
Include dependency graph for readSnap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Graph readSnap (const string &, int, int, int btag=-1)
 
void readSnap (const string &, int, int, Graph &, int btag=-1)
 
Graph readGeo (const string &, int, int, int btag=-1)
 
void readGeo (const string &, int, int, Graph &, int btag=-1)
 

Function Documentation

◆ readGeo() [1/2]

void readGeo ( const string &  infilename,
int  mintag,
int  maxtag,
Graph g,
int  btag 
)

Read geometry file into existing graph

Parameters
infilenamethe name of the geometry file
mintagthe smallest particle tag considered
gthe existing graph
btagif btag!= -1, consider only bonds tagged with btag

References Graph::insert(), esys::lsm::bpu::iter(), Graph::numE(), Graph::numV(), Graph::removeDoubles(), and Graph::setVertexData().

Here is the call graph for this function:

◆ readGeo() [2/2]

Graph readGeo ( const string &  infilename,
int  mintag,
int  maxtag,
int  btag 
)

Read geometry file and create a graph from the data

Parameters
infilenamethe name of the geometry file
mintagthe smallest particle tag considered
btagif btag!= -1, consider only bonds tagged with btag

Referenced by main().

Here is the caller graph for this function:

◆ readSnap() [1/2]

void readSnap ( const string &  infilename,
int  mintag,
int  maxtag,
Graph g,
int  btag 
)

read snapshot into existing graph

Parameters
infilenamethe name of the header file of the snapshot, i.e. *_0.txt
mintagthe smallest particle tag considered
gthe existing graph
btagif btag!= -1, consider only bonds tagged with btag

References get_filenames(), get_version(), Graph::insert(), esys::lsm::bpu::iter(), Graph::numE(), Graph::numV(), Graph::removeDoubles(), and Graph::setVertexData().

Here is the call graph for this function:

◆ readSnap() [2/2]

Graph readSnap ( const string &  infilename,
int  mintag,
int  maxtag,
int  btag 
)

read snapshot and create a graph from the data

Parameters
infilenamethe name of the header file of the snapshot, i.e. *_0.txt
mintagthe smallest particle tag considered
btagif btag!= -1, consider only bonds tagged with btag

References get_filenames(), get_version(), Graph::insert(), esys::lsm::bpu::iter(), Graph::numE(), Graph::numV(), Graph::removeDoubles(), and Graph::setVertexData().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function: