ESyS-Particle  2.3
FracFrame Class Reference

#include <fracframe.h>

Collaboration diagram for FracFrame:

Classes

struct  bdata
 
class  cmp
 
struct  fdata
 

Public Member Functions

 FracFrame ()
 
void readFile (const string &)
 
void readFileRot (const string &, bool)
 
void readFileTagged (const string &, int)
 
void readFileRotTagged (const string &, int)
 
vector< fdatagetFrac (FracFrame &)
 

Private Member Functions

int get_version (const string &)
 
vector< string > get_filenames (const string &, int)
 

Private Attributes

set< bdata, FracFrame::cmpm_bonds
 
map< int, Vec3posmap
 
map< int, float > radmap
 
map< int, int > tagmap
 

Constructor & Destructor Documentation

FracFrame::FracFrame ( )

Member Function Documentation

vector< string > FracFrame::get_filenames ( const string &  infilename,
int  version 
)
private

References cout.

Referenced by readFile(), readFileRot(), readFileRotTagged(), and readFileTagged().

Here is the caller graph for this function:

int FracFrame::get_version ( const string &  infilename)
private

References cout.

Referenced by readFile(), readFileRot(), readFileRotTagged(), and readFileTagged().

Here is the caller graph for this function:

vector< FracFrame::fdata > FracFrame::getFrac ( FracFrame F2)

get the fracture as difference in the bonds between two frames

Parameters
F2the newer frame

References cout, FracFrame::fdata::id1, FracFrame::fdata::id2, esys::lsm::bpu::iter(), m_bonds, FracFrame::fdata::normal, FracFrame::fdata::pos, posmap, radmap, FracFrame::fdata::size, and FracFrame::fdata::tag.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void FracFrame::readFile ( const string &  infilename)

read connection data from file

Parameters
infilenamethe filename

References get_filenames(), get_version(), FracFrame::bdata::id1, FracFrame::bdata::id2, esys::lsm::bpu::iter(), m_bonds, posmap, radmap, and FracFrame::bdata::tag.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void FracFrame::readFileRot ( const string &  infilename,
bool  init_pos 
)

read connection data from a file (rotational particles)

Parameters
infilenamethe filename
init_posif true, write fractures at initial particle positions

References cout, get_filenames(), get_version(), FracFrame::bdata::id1, FracFrame::bdata::id2, esys::lsm::bpu::iter(), m_bonds, posmap, radmap, and FracFrame::bdata::tag.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void FracFrame::readFileRotTagged ( const string &  infilename,
int  rtag 
)

read connection data involving particles with a particular tag from a file (rotational particles)

Parameters
infilenamethe filename
rtagthe particle tag

References cout, get_filenames(), get_version(), FracFrame::bdata::id1, FracFrame::bdata::id2, esys::lsm::bpu::iter(), m_bonds, posmap, radmap, and FracFrame::bdata::tag.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void FracFrame::readFileTagged ( const string &  infilename,
int  rtag 
)

read connection data involving particles with a particular tag from file

Parameters
infilenamethe filename
rtagthe particle tag

References get_filenames(), get_version(), FracFrame::bdata::id1, FracFrame::bdata::id2, esys::lsm::bpu::iter(), m_bonds, posmap, radmap, and FracFrame::bdata::tag.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

set<bdata,FracFrame::cmp> FracFrame::m_bonds
private
map<int,Vec3> FracFrame::posmap
private
map<int,float> FracFrame::radmap
private
map<int,int> FracFrame::tagmap
private

The documentation for this class was generated from the following files: