glotzmd::CellForceMulti Class Reference
[Molecular Dynamics]

A CellForce method for systems with many different interactions. More...

#include <CellForceMulti.h>

Inheritance diagram for glotzmd::CellForceMulti:

glotzmd::ForceRoutine glotzmd::BaseObject glotzutil::Listable glotzutil::Serializable glotzmd::CellForceMultiShifted

List of all members.

Public Member Functions

 CellForceMulti ()
 Constructor.
 ~CellForceMulti ()
 Destructor.
CellForceMultiClone ()
 Clone constructor.
void OnEvent ()
 Event callback.
virtual void ComputeForce ()
 Function to compute the force.

Protected Types

enum  { ALL, SAME_TYPE, DIFFERENT_TYPE }
 Flags indicating which type of interactions to keep track of. More...

Protected Attributes

std::map< int, CellListmCellList
 A list of cell lists.
std::map< int,
glotz_flt > 
mInteractionCutoff
 A list of interaction cutoffs.
std::map< int,
glotz_flt > 
mInteractionCutoffSq
 A list of squared interaction cutoffs.
std::map< int, int > mNeighborCriterion
 A list of flags.


Detailed Description

A CellForce method for systems with many different interactions.

Author:
Aaron Keys
Often it is computationally efficient to construct separate cell lists for each interaction type, particularly if there is a large disparity in the interaction range. This routine generates a separate cell list for each set of interactions. Note that this routine will work for single component systems, but with a slight speed hit compared to CellForce.

Member Enumeration Documentation

anonymous enum [protected]

Flags indicating which type of interactions to keep track of.

Enumerator:
ALL 
SAME_TYPE 
DIFFERENT_TYPE 


Constructor & Destructor Documentation

glotzmd::CellForceMulti::CellForceMulti (  ) 

Constructor.

glotzmd::CellForceMulti::~CellForceMulti (  ) 

Destructor.


Member Function Documentation

CellForceMulti * glotzmd::CellForceMulti::Clone (  )  [virtual]

Clone constructor.

Reimplemented from glotzmd::ForceRoutine.

Reimplemented in glotzmd::CellForceMultiShifted.

void glotzmd::CellForceMulti::OnEvent (  )  [virtual]

Event callback.

Reimplemented from glotzmd::BaseObject.

void glotzmd::CellForceMulti::ComputeForce (  )  [virtual]

Function to compute the force.

Reimplemented from glotzmd::ForceRoutine.

Reimplemented in glotzmd::CellForceMultiShifted.


Member Data Documentation

std::map<int, CellList> glotzmd::CellForceMulti::mCellList [protected]

A list of cell lists.

std::map<int, glotz_flt> glotzmd::CellForceMulti::mInteractionCutoff [protected]

A list of interaction cutoffs.

std::map<int, glotz_flt> glotzmd::CellForceMulti::mInteractionCutoffSq [protected]

A list of squared interaction cutoffs.

std::map<int, int> glotzmd::CellForceMulti::mNeighborCriterion [protected]

A list of flags.


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