.Simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
MDSimulation::Skipping Class Reference

Function object to regulate the ScheduleParticleCollisions function. More...

#include <Simulation.h>

Public Member Functions

 Skipping (const int s)
 Create the object with the value to skip. More...
 
bool operator() (const int pa)
 Reject only when the the Skip value is given. More...
 

Detailed Description

Function object to regulate the ScheduleParticleCollisions function.

This will cause the function to examine all particles that are in adjacent cells that do not have index values corresponding to the one this object was constructed with.

Constructor & Destructor Documentation

MDSimulation::Skipping::Skipping ( const int  s)
inlineexplicit

Create the object with the value to skip.

Parameters
sThe value to skip.

Member Function Documentation

bool MDSimulation::Skipping::operator() ( const int  pa)
inline

Reject only when the the Skip value is given.

Parameters
paThe particle index to test against.

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