|
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) |
Protected Attributes | |
| double | m_ysplit |
Class for the generation of a split 2D random lattice in a rectangular area.
| void CSplitBlock2D::generate | ( | int | tries, |
| unsigned int | seed | ||
| ) | [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.
| void CSplitBlock2D::tagSplit | ( | int | tag1, |
| int | tag2, | ||
| double | d | ||
| ) | [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.
1.7.6.1