ESyS-Particle  4.0.1
Public Member Functions | Protected Member Functions
CSimple3DNTable Class Reference
Inheritance diagram for CSimple3DNTable:
Inheritance graph
[legend]
Collaboration diagram for CSimple3DNTable:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CSimple3DNTable (const Vec3 &, const Vec3 &, double, bool xcirc=false, bool ycirc=false, bool zcirc=false)
virtual void getInteractions (set< BasicInteraction, BILess > &, double)
void print ()
template<class TmplInteractionValidator >
InteractionSet getInteractions (const TmplInteractionValidator &validator) const

Protected Member Functions

virtual int index (const Vec3 &) const
virtual vector< int > allidx (const Vec3 &) const
virtual void insertParticleCircular (SimpleParticle)

Constructor & Destructor Documentation

CSimple3DNTable::CSimple3DNTable ( const Vec3 pos,
const Vec3 dim,
double  r,
bool  xcirc = false,
bool  ycirc = false,
bool  zcirc = false 
)

Constructor

Parameters:
posposition of the (xmin,ymin,zmin) point
dimsize of the space
rgrid spacing

Member Function Documentation

vector< int > CSimple3DNTable::allidx ( const Vec3 pos) const [protected, virtual]

Get all indices to which a particle at a given position will be added.

Parameters:
posthe position
Warning:
does not check if pos is within space

Implements ASimpleNTable.

Referenced by insertParticleCircular().

Here is the caller graph for this function:

void CSimple3DNTable::getInteractions ( set< BasicInteraction, BILess > &  iset,
double  dmax 
) [virtual]

Put all interactions into a set

Parameters:
isetthe set into which to put them
dmaxmax distance for the creation of an interaction

Implements ASimpleNTable.

int CSimple3DNTable::index ( const Vec3 pos) const [protected, virtual]

Return the grid index of a position.

Parameters:
posthe position
Warning:
does not check if pos is within space

Implements ASimpleNTable.

void CSimple3DNTable::insertParticleCircular ( SimpleParticle  cbp) [protected, virtual]

insert circular images of the particle

Parameters:
cbpthe particle

Implements ASimpleNTable.

References allidx().

Here is the call graph for this function:


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