#include <Frac.h>
|
| | Frac (const Graph &, const Graph &) |
| |
| void | writeMassRatio (ostream &, double) |
| |
| int | writeAllMass (ostream &, double, int, bool with_tag=false) |
| |
| void | writeAsVtk (const string &, float, const Graph &, bool) |
| |
| pair< double, double > | getSplitAbrasion (Graph &, double, double) |
| |
◆ Frac()
| Frac::Frac |
( |
const Graph & |
g_old, |
|
|
const Graph & |
g_new |
|
) |
| |
References Graph::cid_begin(), Graph::cid_end(), Graph::getParticleMass(), Graph::getVertexData(), esys::lsm::bpu::iter(), m_grain_to_grain_map, m_new_grain_map, m_new_grain_mass_map, m_new_grain_to_particle_map, m_old_grain_map, m_old_grain_mass_map, m_tag_map, and pdata::tag.
◆ get_grain_mass()
| map< int, double > Frac::get_grain_mass |
( |
const Graph & |
g | ) |
|
|
private |
◆ get_move_vectors()
| map< int, Vec3 > Frac::get_move_vectors |
( |
const Graph & |
g | ) |
|
|
private |
◆ getSplitAbrasion()
| pair< double, double > Frac::getSplitAbrasion |
( |
Graph & |
orig, |
|
|
double |
ratio, |
|
|
double |
minmass |
|
) |
| |
◆ writeAllMass()
| int Frac::writeAllMass |
( |
ostream & |
ost, |
|
|
double |
minmass, |
|
|
int |
count, |
|
|
bool |
with_tag = false |
|
) |
| |
◆ writeAsVtk()
| void Frac::writeAsVtk |
( |
const string & |
basefilename, |
|
|
float |
exp, |
|
|
const Graph & |
g_new, |
|
|
bool |
fakevec |
|
) |
| |
output fractured particles as VTK-XML files. The particles are "exploded", i.e. the fragments are moved out from the center for better visibility.
- Parameters
-
| basefilename | the base filename, i.e. the files will be called basfilename.0.xml, basefilename.1.xml... |
| exp | the relative amount by which the new fragments are moved |
| g_new | |
| fakevec | |
References get_grain_mass(), get_move_vectors(), Graph::getVertexData(), esys::lsm::bpu::iter(), m_grain_to_grain_map, m_new_grain_map, m_old_grain_map, pdata::pos, and pdata::rad.
Referenced by main().
◆ writeMassRatio()
| void Frac::writeMassRatio |
( |
ostream & |
ost, |
|
|
double |
minmass |
|
) |
| |
◆ m_grain_to_grain_map
| map<int,set<int> > Frac::m_grain_to_grain_map |
|
private |
◆ m_new_grain_map
| map<int,int> Frac::m_new_grain_map |
|
private |
◆ m_new_grain_mass_map
| map<int,double> Frac::m_new_grain_mass_map |
|
private |
◆ m_new_grain_to_particle_map
| multimap<int,int> Frac::m_new_grain_to_particle_map |
|
private |
◆ m_old_grain_map
| multimap<int,int> Frac::m_old_grain_map |
|
private |
◆ m_old_grain_mass_map
| map<int,double> Frac::m_old_grain_mass_map |
|
private |
◆ m_tag_map
| map<int,int> Frac::m_tag_map |
|
private |
The documentation for this class was generated from the following files: