ESyS-Particle  4.0.1
Public Member Functions | Protected Attributes
CSplitBlock2D Class Reference

Class for the generation of a split 2D random lattice in a rectangular area. More...

#include <SplitBlock.h>

Inheritance diagram for CSplitBlock2D:
Inheritance graph
[legend]
Collaboration diagram for CSplitBlock2D:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Class for the generation of a split 2D random lattice in a rectangular area.

Author:
Steffen Abe $Revision$ $Data:$

Member Function Documentation

void CSplitBlock2D::generate ( int  tries,
unsigned int  seed 
) [virtual]

Fill the space in the block

Parameters:
triesnumber of times the insertion of a particle is tried
seedseed for the random number generator

Reimplemented from CRandomBlock2D.

void CSplitBlock2D::tagSplit ( int  tag1,
int  tag2,
double  d 
) [virtual]

Tag particles along the split line

Parameters:
tag1the tag for particles "above" the split (y>y_split)
tag2the tag for particles "below" the split (y<y_split)
dmaximum distance from the split line at which a particle gets tagged

Reimplemented from ARandomAssembly.


The documentation for this class was generated from the following files: