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

Abstract base class providing the interface for a simple, serial neighbor table. Used in random initialization. More...

#include <SimpleNTable.h>

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

List of all members.

Public Member Functions

int getNumInsertedParticles () const
const vector< SimpleParticle > * getNeighbors (const Vec3 &) const
int getClosestParticleID (const Vec3 &) const
virtual void getInteractions (set< BasicInteraction, BILess > &, double)=0
void insertParticle (SimpleParticle)

Protected Member Functions

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

Protected Attributes

vector< SimpleParticle > * m_data
Vec3 m_p0
double m_dim
int m_numInsertedParticles

Detailed Description

Abstract base class providing the interface for a simple, serial neighbor table. Used in random initialization.

Author:
Steffen Abe $Revision$ $Date$

Member Function Documentation

int ASimpleNTable::getClosestParticleID ( const Vec3 pos) const

get particle closest to given position

Parameters:
posthe position
Warning:
doesn't check if position is in space

Referenced by CRandomBlock2D::tagParticleClosestTo().

Here is the caller graph for this function:

const vector< SimpleParticle > * ASimpleNTable::getNeighbors ( const Vec3 pos) const

get all particles near a given position

Parameters:
posthe position

Referenced by ARandomAssembly::getClosestNeighbors(), and ARandomAssembly::getNeighborList().

Here is the caller graph for this function:

Add particle to all neighorlists it belongs to

Parameters:
cbpthe particle

Referenced by CRandomBlock2D::insertParticle(), and CRandomBlock3D::insertParticle().

Here is the caller graph for this function:


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