#include <CellForceMulti.h>

Public Member Functions | |
| CellForceMulti () | |
| Constructor. | |
| ~CellForceMulti () | |
| Destructor. | |
| CellForceMulti * | Clone () |
| 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, CellList > | mCellList |
| 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. | |
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.
anonymous enum [protected] |
| glotzmd::CellForceMulti::CellForceMulti | ( | ) |
Constructor.
| glotzmd::CellForceMulti::~CellForceMulti | ( | ) |
Destructor.
| CellForceMulti * glotzmd::CellForceMulti::Clone | ( | ) | [virtual] |
Clone constructor.
Reimplemented from glotzmd::ForceRoutine.
Reimplemented in glotzmd::CellForceMultiShifted.
| void glotzmd::CellForceMulti::OnEvent | ( | ) | [virtual] |
| void glotzmd::CellForceMulti::ComputeForce | ( | ) | [virtual] |
Function to compute the force.
Reimplemented from glotzmd::ForceRoutine.
Reimplemented in glotzmd::CellForceMultiShifted.
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.
1.5.3