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

#include <constraints.hpp>

Inheritance diagram for RsqTracker:
StateTracker

Public Member Functions

 RsqTracker (sptr< AtomGroup > atoms, vector< unsigned long > ns, bool usecom=true)
 
void reset ()
 
void update (Box &box)
 This function is called once per timestep, when particles are in their set position. More...
 
vector< Eigen::Matrix< flt, Eigen::Dynamic, NDIM > > xyz2 ()
 
vector< vector< flt > > r2 ()
 
vector< Eigen::Matrix< flt, Eigen::Dynamic, NDIM > > xyz4 ()
 
vector< vector< flt > > r4 ()
 
vector< fltcounts ()
 
- Public Member Functions inherited from StateTracker
virtual ~StateTracker ()
 

Public Attributes

sptr< AtomGroupatoms
 
vector< RsqTracker1singles
 
unsigned long curt
 
bool usecom
 

Detailed Description

Examples:
hardspheres.cpp.

Constructor & Destructor Documentation

RsqTracker::RsqTracker ( sptr< AtomGroup atoms,
vector< unsigned long >  ns,
bool  usecom = true 
)

Member Function Documentation

vector< flt > RsqTracker::counts ( )
vector< vector< flt > > RsqTracker::r2 ( )
vector< vector< flt > > RsqTracker::r4 ( )
void RsqTracker::reset ( )
void RsqTracker::update ( Box box)
virtual

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

Implements StateTracker.

vector< Eigen::Matrix< flt, Eigen::Dynamic, NDIM > > RsqTracker::xyz2 ( )
vector< Eigen::Matrix< flt, Eigen::Dynamic, NDIM > > RsqTracker::xyz4 ( )

Member Data Documentation

sptr<AtomGroup> RsqTracker::atoms
unsigned long RsqTracker::curt
vector<RsqTracker1> RsqTracker::singles
bool RsqTracker::usecom

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