|
ls1-MarDyn
ls1-MarDyn molecular dynamics code
|
#include <LegacyCellProcessor.h>
Public Member Functions | |
| LegacyCellProcessor & | operator= (const LegacyCellProcessor &)=delete |
| LegacyCellProcessor (const double cutoffRadius, const double LJCutoffRadius, ParticlePairsHandler *particlePairsHandler) | |
| void | initTraversal () |
| void | preprocessCell (ParticleCell &) |
| void | processCellPair (ParticleCell &cell1, ParticleCell &cell2, bool sumAll=false) |
| double | processSingleMolecule (Molecule *m1, ParticleCell &cell2) |
| void | processCell (ParticleCell &cell) |
| void | postprocessCell (ParticleCell &) |
| void | endTraversal () |
Public Member Functions inherited from CellProcessor | |
| CellProcessor (const double cutoffRadius, const double LJCutoffRadius) | |
| virtual | ~CellProcessor () |
| double | getCutoffRadius () const |
| double | getLJCutoffRadius () const |
| void | setCutoffRadius (const double c) |
| void | setLJCutoffRadius (const double ljc) |
| double | getCutoffRadiusSquare () const |
| double | getLJCutoffRadiusSquare () const |
| void | setCutoffRadiusSquare (const double c) |
| void | setLJCutoffRadiusSquare (const double ljc) |
Additional Inherited Members | |
Protected Attributes inherited from CellProcessor | |
| double | _cutoffRadiusSquare |
| double | _LJCutoffRadiusSquare |
This class is a simple extraction of the cell handling from the old class Blocktraverse. I expect it to be slightly refactored one day...
|
virtual |
Called after the traversal finished.
Implements CellProcessor.
|
virtual |
called before the traversal starts.
| numCells | number of cells in window |
Implements CellProcessor.
|
inlinevirtual |
Called after the cell has been considered for the last time during the traversal.
Implements CellProcessor.
|
inlinevirtual |
Called before a cell is touched for the first time during an interation.
Implements CellProcessor.
|
virtual |
Called when this cell is the current cell.
Implements CellProcessor.
|
virtual |
Called for each cell pair within the cutoff radius. Called exactly once per pair (i.e. pairs are not ordered).
Implements CellProcessor.
|
virtual |
Implements CellProcessor.