Cyclone Cyclone: cyclone::ParticleRod Class Reference

cyclone::ParticleRod Class Reference

Rods link a pair of particles, generating a contact if they stray too far apart or too close. More...

#include <plinks.h>

Inheritance diagram for cyclone::ParticleRod:

Inheritance graph
[legend]
Collaboration diagram for cyclone::ParticleRod:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual unsigned addContact (ParticleContact *contact, unsigned limit) const
 Fills the given contact structure with the contact needed to keep the rod from extending or compressing.

Public Attributes

real length
 Holds the length of the rod.

Detailed Description

Rods link a pair of particles, generating a contact if they stray too far apart or too close.


Member Function Documentation

virtual unsigned cyclone::ParticleRod::addContact ParticleContact contact,
unsigned  limit
const [virtual]
 

Fills the given contact structure with the contact needed to keep the rod from extending or compressing.

Implements cyclone::ParticleLink.


Member Data Documentation

real cyclone::ParticleRod::length
 

Holds the length of the rod.


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