ParM  parm
A molecular dynamics library
Public Member Functions | Protected Attributes | List of all members
ContactTracker Class Reference

#include <constraints.hpp>

Inheritance diagram for ContactTracker:
StateTracker

Public Member Functions

 ContactTracker (sptr< Box > box, sptr< AtomGroup > atoms, vector< flt > dists)
 
void update (Box &box)
 This function is called once per timestep, when particles are in their set position. More...
 
void reset ()
 
unsigned long long broken ()
 
unsigned long long formed ()
 
unsigned long long number ()
 
- Public Member Functions inherited from StateTracker
virtual ~StateTracker ()
 

Protected Attributes

sptr< AtomGroupatoms
 
vector< fltdists
 
vector< vector< bool > > contacts
 
unsigned long long breaks
 
unsigned long long formations
 
unsigned long long incontact
 

Constructor & Destructor Documentation

ContactTracker::ContactTracker ( sptr< Box box,
sptr< AtomGroup atoms,
vector< flt dists 
)

Member Function Documentation

unsigned long long ContactTracker::broken ( )
inline
unsigned long long ContactTracker::formed ( )
inline
unsigned long long ContactTracker::number ( )
inline
void ContactTracker::reset ( )
inline
void ContactTracker::update ( Box box)
virtual

This function is called once per timestep, when particles are in their set position.

Implements StateTracker.

Member Data Documentation

sptr<AtomGroup> ContactTracker::atoms
protected
unsigned long long ContactTracker::breaks
protected
vector<vector<bool> > ContactTracker::contacts
protected
vector<flt> ContactTracker::dists
protected
unsigned long long ContactTracker::formations
protected
unsigned long long ContactTracker::incontact
protected

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