|
ESyS-Particle
2.2
|
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) |
Private Attributes | |
| set< double > | LayerBoundaries |
Additional Inherited Members | |
Protected Member Functions inherited from CRandomBlock2D | |
| virtual Vec3 | getAPoint () |
| virtual int | getNParts () const |
Protected Attributes inherited from CRandomBlock2D | |
| double | m_maxConnDist |
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 cout, CRandomBlock2D::generate(), esys::lsm::bpu::iter(), LayerBoundaries, and ARandomAssembly::m_bpart.

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