|
ESyS-Particle
2.3
|
#include <fracwriter.h>

Public Member Functions | |
| FracWriter () | |
| void | addData (const vector< FracFrame::fdata > &, int) |
| void | addPlane (const Plane3D &) |
| void | write (const string &) |
| void | writeText (const string &) |
| void | writeProfile (double, double, int, const string &) |
| void | writeParticleList (const string &) |
Private Member Functions | |
| void | writePlane (const string &) |
Private Attributes | |
| vector< fwdata > | m_data |
| map< int, int > | m_nbrk_map |
| Vec3 | m_c1 |
| Vec3 | m_c2 |
| Vec3 | m_c3 |
| Vec3 | m_c4 |
| bool | with_plane |
| FracWriter::FracWriter | ( | ) |
constructor
References with_plane.
| void FracWriter::addData | ( | const vector< FracFrame::fdata > & | newdata, |
| int | t | ||
| ) |
add point data to the writer
References esys::lsm::bpu::iter(), m_data, and m_nbrk_map.
Referenced by main().


| void FracWriter::addPlane | ( | const Plane3D & | P | ) |
add a plane to the data writer
References Plane3D::getPos(), Plane3D::GetU(), Plane3D::GetV(), esys::lsm::bpu::iter(), m_c1, m_c2, m_c3, m_c4, m_data, Vec3::norm(), and with_plane.
Referenced by main().


| void FracWriter::write | ( | const string & | filename | ) |
write data int VTK-XML file
| filename | the filename |
References esys::lsm::bpu::iter(), m_data, with_plane, and writePlane().
Referenced by main().


| void FracWriter::writeParticleList | ( | const string & | filename | ) |
write data as text file
| filename | the filename |
References esys::lsm::bpu::iter(), and m_nbrk_map.
Referenced by main().


|
private |
| void FracWriter::writeProfile | ( | double | ymin, |
| double | ymax, | ||
| int | nbin, | ||
| const string & | filename | ||
| ) |
write fracture distribution profile (y-direction)
| ymin | minimum y-coordinate |
| ymax | maximum y-coordinate number of bins in the distribution |
| filename | the filename |
References esys::lsm::bpu::iter(), and m_data.
Referenced by main().


| void FracWriter::writeText | ( | const string & | filename | ) |
write data as text file
| filename | the filename |
References esys::lsm::bpu::iter(), and m_data.
Referenced by main().


|
private |
Referenced by addPlane(), and writePlane().
|
private |
Referenced by addPlane(), and writePlane().
|
private |
Referenced by addPlane(), and writePlane().
|
private |
Referenced by addPlane(), and writePlane().
|
private |
Referenced by addData(), addPlane(), write(), writeProfile(), and writeText().
|
private |
Referenced by addData(), and writeParticleList().
|
private |
Referenced by addPlane(), FracWriter(), and write().