ESyS-Particle
4.0.1
|
Class for the generation of a split 2D random lattice in a rectangular area. More...
#include <SplitBlock.h>
Public Member Functions | |
CSplitBlock2D (double, double, double, double, double, double, double, bool circ_x=false) | |
virtual void | generate (int, unsigned int) |
virtual void | tagSplit (int, int, double) |
![]() | |
CRandomBlock2D (double, double, double, double, double, double, double, bool circ_x=false) | |
virtual void | insertParticle (const SimpleParticle) |
virtual void | tagParticleClosestTo (const Vec3 &, int) |
virtual void | tagEdgeY (int, int, double) |
virtual void | tagEdgeZ (int, int, double) |
virtual void | writeToGeoFile (const string &) |
virtual double | calcPorosity () |
virtual vector< pair< double, double > > | getSizeDistribution (int) |
Protected Attributes | |
double | m_ysplit |
![]() | |
double | m_maxConnDist |
![]() | |
vector< Line > | Borders |
double | m_rmin |
double | m_rmax |
min/max particle radius | |
double | m_xmin |
double | m_xmax |
double | m_ymin |
double | m_ymax |
x,y borders of the lattice | |
bool | m_circ_x |
![]() | |
ASimpleNTable * | m_snt |
set< BasicInteraction, BILess > | m_iset |
vector< SimpleParticle > | m_bpart |
Additional Inherited Members | |
![]() | |
virtual Vec3 | getAPoint () |
virtual int | getNParts () const |
![]() | |
bool | isInSpace (const Vec3 &) |
bool | findAFit (SimpleParticle &, const vector< SimpleParticle > &, const Line &) |
bool | findAFit (SimpleParticle &, const vector< SimpleParticle > &) |
virtual bool | checkAFit (const SimpleParticle &) |
virtual Line * | getClosestPlane (const SimpleParticle &) |
void | fillSpace (int) |
![]() | |
double | m_random (double, double) |
vector< SimpleParticle > | getNeighborList (const SimpleParticle &) |
vector< SimpleParticle > | get3ClosestNeighbors (const SimpleParticle &, const vector< SimpleParticle > &) |
vector< SimpleParticle > | getClosestNeighbors (const SimpleParticle &, int) |
SimpleParticle | getClosestParticle (const SimpleParticle &, const vector< SimpleParticle > &) |
Class for the generation of a split 2D random lattice in a rectangular area.
|
virtual |
Fill the space in the block
tries | number of times the insertion of a particle is tried |
seed | seed for the random number generator |
Reimplemented from CRandomBlock2D.
|
virtual |
Tag particles along the split line
tag1 | the tag for particles "above" the split (y>y_split) |
tag2 | the tag for particles "below" the split (y<y_split) |
d | maximum distance from the split line at which a particle gets tagged |
Reimplemented from ARandomAssembly.