|
ESyS-Particle
2.3.4
|
#include "readSnap.h"#include <iterator>#include <fstream>#include <set>#include "Foundation/vec3.h"
Functions | |
| int | get_version (const string &infilename) |
| vector< string > | get_filenames (const string &infilename, int version) |
| Graph | readSnap (const string &infilename, int mintag, int maxtag, int btag) |
| void | readSnap (const string &infilename, int mintag, int maxtag, Graph &g, int btag) |
| Graph | readGeo (const string &infilename, int mintag, int maxtag, int btag) |
| void | readGeo (const string &infilename, int mintag, int maxtag, Graph &g, int btag) |
| vector<string> get_filenames | ( | const string & | infilename, |
| int | version | ||
| ) |
| int get_version | ( | const string & | infilename | ) |
Get snapshot version.
| infilename | the file name of the header file (incl. the _0.txt part) |
Referenced by readSnap().

| void readGeo | ( | const string & | infilename, |
| int | mintag, | ||
| int | maxtag, | ||
| Graph & | g, | ||
| int | btag | ||
| ) |
Read geometry file into existing graph
| infilename | the name of the geometry file |
| mintag | the smallest particle tag considered |
| g | the existing graph |
| btag | if btag!= -1, consider only bonds tagged with btag |
References Graph::insert(), esys::lsm::bpu::iter(), Graph::numE(), Graph::numV(), Graph::removeDoubles(), and Graph::setVertexData().

| Graph readGeo | ( | const string & | infilename, |
| int | mintag, | ||
| int | maxtag, | ||
| int | btag | ||
| ) |
Read geometry file and create a graph from the data
| infilename | the name of the geometry file |
| mintag | the smallest particle tag considered |
| btag | if btag!= -1, consider only bonds tagged with btag |
Referenced by main().

| void readSnap | ( | const string & | infilename, |
| int | mintag, | ||
| int | maxtag, | ||
| Graph & | g, | ||
| int | btag | ||
| ) |
read snapshot into existing graph
| infilename | the name of the header file of the snapshot, i.e. *_0.txt |
| mintag | the smallest particle tag considered |
| g | the existing graph |
| btag | if 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().

| Graph readSnap | ( | const string & | infilename, |
| int | mintag, | ||
| int | maxtag, | ||
| int | btag | ||
| ) |
read snapshot and create a graph from the data
| infilename | the name of the header file of the snapshot, i.e. *_0.txt |
| mintag | the smallest particle tag considered |
| btag | if 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().

