ls1-MarDyn
ls1-MarDyn molecular dynamics code
Classes | Public Member Functions | List of all members
VelocityCellProcessorRMM Class Reference
Inheritance diagram for VelocityCellProcessorRMM:
CellProcessor

Classes

class  ThreadData
 

Public Member Functions

void preprocessCell (ParticleCell &cell)
 
void processCellPair (ParticleCell &cell1, ParticleCell &cell2, bool sumAll=false)
 
double processSingleMolecule (Molecule *m1, ParticleCell &cell2)
 
void postprocessCell (ParticleCell &cell)
 
void initTraversal ()
 
void endTraversal ()
 
void processCell (ParticleCell &cell)
 
unsigned long getN () const
 
double getSummv2 () const
 
- 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
 

Member Function Documentation

◆ endTraversal()

void VelocityCellProcessorRMM::endTraversal ( )
inlinevirtual

Called after the traversal finished.

Implements CellProcessor.

◆ initTraversal()

void VelocityCellProcessorRMM::initTraversal ( )
inlinevirtual

called before the traversal starts.

Parameters
numCellsnumber of cells in window

Implements CellProcessor.

◆ postprocessCell()

void VelocityCellProcessorRMM::postprocessCell ( ParticleCell cell)
inlinevirtual

Called after the cell has been considered for the last time during the traversal.

Implements CellProcessor.

◆ preprocessCell()

void VelocityCellProcessorRMM::preprocessCell ( ParticleCell cell)
inlinevirtual

Called before a cell is touched for the first time during an interation.

Implements CellProcessor.

◆ processCell()

void VelocityCellProcessorRMM::processCell ( ParticleCell cell)
inlinevirtual

Called when this cell is the current cell.

Note
will not be called for empty cells.

Implements CellProcessor.

◆ processCellPair()

void VelocityCellProcessorRMM::processCellPair ( ParticleCell cell1,
ParticleCell cell2,
bool  sumAll = false 
)
inlinevirtual

Called for each cell pair within the cutoff radius. Called exactly once per pair (i.e. pairs are not ordered).

Note
will not be called for empty cells. Sum up all macroscopic values (e.g. for hs) or only half of them (e.g. for fs)

Implements CellProcessor.

◆ processSingleMolecule()

double VelocityCellProcessorRMM::processSingleMolecule ( Molecule m1,
ParticleCell cell2 
)
inlinevirtual

Implements CellProcessor.


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