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

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

#include <SplitBlock3D.h>

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

List of all members.

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)

Protected Attributes

double m_ysplit
int m_dir

Detailed Description

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

Author:
Steffen Abe $Revision$ $Data:$

Constructor & Destructor Documentation

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

Parameters:
xminminimum in x-direction
xmaxmaximum in x-direction
yminminimum in y-direction
ymaxmaximum in y-direction
zminminimum in z-direction
zmaxmaximum in z-direction
rminminimum particle radius
rmaxmaximum particle radius
ysplitthe position of the split plane
dirthe direction of the split plane (2=y,3=z)
circ_xcircular or open boundary conditions in x-direction

Member Function Documentation

void CSplitBlock3D::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 CRandomBlock3D.

Reimplemented in CRoughPaddedBlock3D, and CPaddedBlock3D.

References ARandomAssembly3D::checkAFit(), ARandomAssembly3D::fillSpace(), CRandomBlock3D::insertParticle(), ARandomAssembly::m_random(), ARandomAssembly3D::m_rmax, and ARandomAssembly3D::m_zmax.

Here is the call graph for this function:

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

Tag particles along the split plane

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 plane at which a particle gets tagged

Reimplemented from ARandomAssembly.


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