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

#include <constraints.hpp>

Inheritance diagram for SmoothLocs:
StateTracker

Public Member Functions

 SmoothLocs (sptr< AtomGroup > atoms, Box &box, uint smoothn, uint skipn=1, bool usecom=false)
 
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 > > smooth_locs ()
 
- Public Member Functions inherited from StateTracker
virtual ~StateTracker ()
 

Public Attributes

sptr< AtomGroupatoms
 
uint smoothn
 
uint skipn
 
Eigen::Matrix< flt, Eigen::Dynamic, NDIMcurlocs
 
uint numincur
 
vector< Eigen::Matrix< flt, Eigen::Dynamic, NDIM > > locs
 
unsigned long curt
 
bool usecom
 

Constructor & Destructor Documentation

SmoothLocs::SmoothLocs ( sptr< AtomGroup atoms,
Box box,
uint  smoothn,
uint  skipn = 1,
bool  usecom = false 
)

Member Function Documentation

void SmoothLocs::reset ( )
vector<Eigen::Matrix<flt, Eigen::Dynamic, NDIM> > SmoothLocs::smooth_locs ( )
inline
void SmoothLocs::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> SmoothLocs::atoms
Eigen::Matrix<flt, Eigen::Dynamic, NDIM> SmoothLocs::curlocs
unsigned long SmoothLocs::curt
vector<Eigen::Matrix<flt, Eigen::Dynamic, NDIM> > SmoothLocs::locs
uint SmoothLocs::numincur
uint SmoothLocs::skipn
uint SmoothLocs::smoothn
bool SmoothLocs::usecom

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