|
ESyS-Particle
4.0.1
|

Classes | |
| class | ParticleConstIterator |
| class | ParticleIterator |
Public Types | |
| typedef TmplParticle | Particle |
|
typedef boost::object_pool < Particle > | ParticlePool |
|
typedef boost::shared_ptr < ParticlePool > | ParticlePoolPtr |
Public Member Functions | |
| ParticleCollection (ParticlePoolPtr particlePoolPtr) | |
| ParticleCollection (const ParticleCollection &p) | |
| ParticleCollection & | operator= (const ParticleCollection &p) |
| int | getNumParticles () const |
| BoundingBox | getParticleBBox () const |
| ParticleIterator | getParticleIterator () |
| ParticleConstIterator | getParticleIterator () const |
| void | translateBy (const Vec3 &vec) |
| void | rotate (const Vec3 &rotation, const Vec3 &posn) |
| void | incrementIdBy (typename Particle::Id idIncr) |
| void | insertRef (Particle &p) |
| Particle & | createParticle (const Particle &p) |
Protected Member Functions | |
| void | noCheckInsertRef (Particle &p) |
| ParticleCollection< TmplParticle >::Particle & esys::lsm::ParticleCollection< TmplParticle >::createParticle | ( | const Particle & | p | ) |
Creates a new particle constructed particle from p.
| p | Create particle copy constructed from p. |
References esys::lsm::ParticleCollection< TmplParticle >::noCheckInsertRef().

| void esys::lsm::ParticleCollection< TmplParticle >::incrementIdBy | ( | typename Particle::Id | idIncr | ) |
Increments all particle Id's by the specifed amount.
| idIncr | Increment. |
| void esys::lsm::ParticleCollection< TmplParticle >::insertRef | ( | Particle & | p | ) |
Adds the specifed particle reference to this collection.
| p | Reference to p is inserted. |
References esys::lsm::ParticleCollection< TmplParticle >::noCheckInsertRef().

| void esys::lsm::ParticleCollection< TmplParticle >::noCheckInsertRef | ( | Particle & | p | ) | [protected] |
Adds the specifed particle reference to this collection.
| p | Reference to p is inserted. |
Referenced by esys::lsm::ParticleCollection< TmplParticle >::createParticle(), and esys::lsm::ParticleCollection< TmplParticle >::insertRef().

| void esys::lsm::ParticleCollection< TmplParticle >::rotate | ( | const Vec3 & | rotation, |
| const Vec3 & | posn | ||
| ) |
Rotates all particles according to the specified rotation.
| rotation | Specifies rotation-axis and magnitude, ie angle = rotation.norm() radians. |
| posn | Specifies position of the rotation vector. |
| void esys::lsm::ParticleCollection< TmplParticle >::translateBy | ( | const Vec3 & | vec | ) |
Translates all particle positions by the specified mount.
| vec | Translation increment. |
1.7.6.1