VirtualSite Class Reference

A VirtualSite describes the rules for computing a particle's position based on other particles. More...

Inheritance diagram for VirtualSite:
OutOfPlaneSite ThreeParticleAverageSite TwoParticleAverageSite

List of all members.

Public Member Functions

def __init__
def __del__
 __del__(self)
def getNumParticles
 getNumParticles(self) -> int
def getParticle
 getParticle(self, int particle) -> int

Detailed Description

A VirtualSite describes the rules for computing a particle's position based on other particles.

This is an abstract class. Subclasses define particular rules. To define a virtual site, create an instance of a VirtualSite subclass and then call setVirtualSite() on the System.


Member Function Documentation

def __del__ (   self  ) 

__del__(self)

Reimplemented in OutOfPlaneSite, ThreeParticleAverageSite, and TwoParticleAverageSite.

def __init__ (   self,
  args,
  kwargs 
)
def getNumParticles (   self  ) 

getNumParticles(self) -> int

Get the number of particles this virtual site depends on.

def getParticle (   self,
  args 
)

getParticle(self, int particle) -> int

Get the index of a particle this virtual site depends on.

Parameters:
particle the particle to get (between 0 and getNumParticles())

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

Generated by  doxygen 1.6.2