|
ESyS-Particle
2.3.4
|
Class for the generation of a layered 2D random lattice in a rectangular area. More...
#include <LayeredBlock.h>


Public Member Functions | |
| CLayeredBlock2D (double, double, double, double, double, double) | |
| virtual | ~CLayeredBlock2D () |
| void | addLayerBoundary (double) |
| virtual void | generate (int, unsigned int) |
Public Member Functions inherited from CRandomBlock2D | |
| CRandomBlock2D (double, double, double, double, double, double, double, bool circ_x=false) | |
| virtual | ~CRandomBlock2D () |
| 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) |
Public Member Functions inherited from ARandomAssembly | |
| virtual | ~ARandomAssembly () |
| virtual void | tagSplit (int, int, double) |
| virtual void | writeToVtkFile (const string &) |
Private Attributes | |
| set< double > | LayerBoundaries |
Additional Inherited Members | |
Protected Member Functions inherited from CRandomBlock2D | |
| virtual Vec3 | getAPoint () |
| virtual int | getNParts () const |
Protected Member Functions inherited from ARandomAssembly2D | |
| 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) |
Protected Member Functions inherited from ARandomAssembly | |
| 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 > &) |
Protected Attributes inherited from CRandomBlock2D | |
| double | m_maxConnDist |
Protected Attributes inherited from ARandomAssembly2D | |
| vector< Line > | Borders |
| double | m_rmin |
| double | m_rmax |
| min/max particle radius More... | |
| double | m_xmin |
| double | m_xmax |
| double | m_ymin |
| double | m_ymax |
| x,y borders of the lattice More... | |
| bool | m_circ_x |
Protected Attributes inherited from ARandomAssembly | |
| ASimpleNTable * | m_snt |
| set< BasicInteraction, BILess > | m_iset |
| vector< SimpleParticle > | m_bpart |
Static Protected Attributes inherited from ARandomAssembly | |
| static double | m_small_value =1e-7 |
Class for the generation of a layered 2D random lattice in a rectangular area.
| CLayeredBlock2D::CLayeredBlock2D | ( | double | xmin, |
| double | xmax, | ||
| double | ymin, | ||
| double | ymax, | ||
| double | rmin, | ||
| double | rmax | ||
| ) |
|
virtual |
| void CLayeredBlock2D::addLayerBoundary | ( | double | d | ) |
References LayerBoundaries.
|
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.
References CRandomBlock2D::generate(), esys::lsm::bpu::iter(), LayerBoundaries, and ARandomAssembly::m_bpart.

|
private |
Referenced by addLayerBoundary(), and generate().