glotzmc::Bead Class Reference

#include <Bead.h>

Inheritance diagram for glotzmc::Bead:

glotzopt::PositionedObject glotzutil::Listable glotzutil::Serializable glotzmc::McBead glotzmc::McBead glotzmc::MdBead glotzmc::McPatchyBead glotzmc::McPatchyBead glotzmc::McPatchyBead glotzmc::McPatchyBead glotzmc::MdGhostBead

List of all members.

Public Member Functions

 Bead ()
 Bead (const double &, const double &, const double &)
 Bead (const Vector< double, 3 > &)
 Bead (int)
virtual ~Bead ()
void SetType (int)
 Sets the type of the object.
void SetRadius (double)
virtual void PrintVisual (std::ostream &os)
virtual void PrintVisualTemplate (std::ostream &os)
int GetType ()
 Bead ()
 Bead (const gfloat &, const gfloat &, const gfloat &)
 Bead (const gvector &)
 Bead (int)
virtual ~Bead ()
void SetType (int)
 Sets the type of the object.
void SetRadius (gfloat)
virtual void PrintVisual (std::ostream &os)
virtual void PrintVisualTemplate (std::ostream &os)
int GetType ()

Public Attributes

Vector< double, 3 > xPosition
 Position of the object xPosition is a rare public member variable. If possible, use Set..() Get..() functions.
double xRadiusShift
double xMass
double xInverseMass
Vector< double, 3 > xOldPosition
double xPotentialEnergy
double xOldPotentialEnergy
int xParent
 The parent of the object (for compound object who's components do not interact) If two objects share the same value of xParent, this indicates not pairwise interaction should be computed between them.
gfloat xRadiusShift
gfloat xMass
gfloat xInverseMass
gvector xOldPosition
gfloat xPotentialEnergy
gfloat xOldPotentialEnergy


Constructor & Destructor Documentation

glotzmc::Bead::Bead (  ) 

glotzmc::Bead::Bead ( const double &  x,
const double &  y,
const double &  z 
)

glotzmc::Bead::Bead ( const Vector< double, 3 > &  r  ) 

glotzmc::Bead::Bead ( int  type  ) 

glotzmc::Bead::~Bead (  )  [virtual]

glotzmc::Bead::Bead (  ) 

glotzmc::Bead::Bead ( const gfloat &  ,
const gfloat &  ,
const gfloat &   
)

glotzmc::Bead::Bead ( const gvector &   ) 

glotzmc::Bead::Bead ( int   ) 

virtual glotzmc::Bead::~Bead (  )  [virtual]


Member Function Documentation

void glotzmc::Bead::SetType ( int  type  ) 

Sets the type of the object.

Parameters:
type is an integer value indicating the type
Typically in glotzilla simulations, the type is an integer multiple of two such that it is represented by one bit. This allows for quick binary operations between object types. See glotzsimapi project for more details.

Reimplemented from glotzopt::PositionedObject.

void glotzmc::Bead::SetRadius ( double  radius  ) 

void glotzmc::Bead::PrintVisual ( std::ostream &  os  )  [virtual]

Reimplemented in glotzmc::McBead, glotzmc::McBead, glotzmc::McPatchyBead, and glotzmc::McPatchyBead.

void glotzmc::Bead::PrintVisualTemplate ( std::ostream &  os  )  [virtual]

Reimplemented in glotzmc::McBead, glotzmc::McBead, glotzmc::McPatchyBead, and glotzmc::McPatchyBead.

int glotzmc::Bead::GetType (  ) 

void glotzmc::Bead::SetType ( int  type  ) 

Sets the type of the object.

Parameters:
type is an integer value indicating the type
Typically in glotzilla simulations, the type is an integer multiple of two such that it is represented by one bit. This allows for quick binary operations between object types. See glotzsimapi project for more details.

Reimplemented from glotzopt::PositionedObject.

void glotzmc::Bead::SetRadius ( gfloat   ) 

virtual void glotzmc::Bead::PrintVisual ( std::ostream &  os  )  [virtual]

Reimplemented in glotzmc::McBead, glotzmc::McBead, glotzmc::McPatchyBead, and glotzmc::McPatchyBead.

virtual void glotzmc::Bead::PrintVisualTemplate ( std::ostream &  os  )  [virtual]

Reimplemented in glotzmc::McBead, glotzmc::McBead, glotzmc::McPatchyBead, and glotzmc::McPatchyBead.

int glotzmc::Bead::GetType (  ) 


Member Data Documentation

Vector<double, 3> glotzmc::Bead::xPosition

Position of the object xPosition is a rare public member variable. If possible, use Set..() Get..() functions.

Reimplemented from glotzopt::PositionedObject.

double glotzmc::Bead::xRadiusShift

double glotzmc::Bead::xMass

double glotzmc::Bead::xInverseMass

Vector<double, 3> glotzmc::Bead::xOldPosition

double glotzmc::Bead::xPotentialEnergy

double glotzmc::Bead::xOldPotentialEnergy

int glotzmc::Bead::xParent

The parent of the object (for compound object who's components do not interact) If two objects share the same value of xParent, this indicates not pairwise interaction should be computed between them.

Reimplemented from glotzopt::PositionedObject.

gfloat glotzmc::Bead::xRadiusShift

gfloat glotzmc::Bead::xMass

gfloat glotzmc::Bead::xInverseMass

gvector glotzmc::Bead::xOldPosition

gfloat glotzmc::Bead::xPotentialEnergy

gfloat glotzmc::Bead::xOldPotentialEnergy


The documentation for this class was generated from the following files:
Generated on Tue Feb 24 20:53:43 2009 by  doxygen 1.5.3