ESyS-Particle
4.0.1
|
Class for the generation of a split 3D random lattice in a rectangular area. More...
#include <SplitBlock3D.h>
Public Member Functions | |
CSplitBlock3D (double, double, double, double, double, double, double, double, double, int, bool circ_x=false, bool rough=false) | |
virtual void | generate (int, unsigned int) |
virtual void | tagSplit (int, int, double) |
![]() | |
CRandomBlock3D (double, double, double, double, double, double, double, double, double, bool, bool is_bonded=true) | |
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 |
int | m_dir |
![]() | |
double | m_maxConnDist |
![]() | |
vector< Plane > | Borders |
double | m_rmin |
double | m_rmax |
min/max particle radius | |
double | m_xmin |
double | m_xmax |
double | m_ymin |
double | m_ymax |
double | m_zmin |
double | m_zmax |
x,y,z 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 |
![]() | |
static double | m_small_value = 1e-7 |
Class for the generation of a split 3D random lattice in a rectangular area.
CSplitBlock3D::CSplitBlock3D | ( | double | xmin, |
double | xmax, | ||
double | ymin, | ||
double | ymax, | ||
double | zmin, | ||
double | zmax, | ||
double | rmin, | ||
double | rmax, | ||
double | ysplit, | ||
int | dir, | ||
bool | circ_x = false , |
||
bool | rough = false |
||
) |
Constructor of CRandomBlock
xmin | minimum in x-direction |
xmax | maximum in x-direction |
ymin | minimum in y-direction |
ymax | maximum in y-direction |
zmin | minimum in z-direction |
zmax | maximum in z-direction |
rmin | minimum particle radius |
rmax | maximum particle radius |
ysplit | the position of the split plane |
dir | the direction of the split plane (2=y,3=z) |
circ_x | circular or open boundary conditions in x-direction |
|
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 CRandomBlock3D.
Reimplemented in CRoughPaddedBlock3D, and CPaddedBlock3D.
References ARandomAssembly3D::checkAFit(), ARandomAssembly3D::fillSpace(), CRandomBlock3D::insertParticle(), ARandomAssembly::m_random(), ARandomAssembly3D::m_rmax, and ARandomAssembly3D::m_zmax.
|
virtual |
Tag particles along the split plane
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 plane at which a particle gets tagged |
Reimplemented from ARandomAssembly.