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

#include <constraints.hpp>

Inheritance diagram for CoordCOMConstraint:
Constraint

Public Member Functions

 CoordCOMConstraint (sptr< AtomGroup > atm, bool fixx, bool fixy, bool fixz, Vec loc)
 
 CoordCOMConstraint (sptr< AtomGroup > atm, bool fixx, bool fixy, bool fixz)
 
 CoordCOMConstraint (sptr< AtomGroup > atm)
 
int constrained_dof ()
 
void apply_positions (Box &box)
 
void apply_velocities (Box &box)
 
void apply_forces (Box &box)
 
- Public Member Functions inherited from Constraint
virtual ~Constraint ()
 

Constructor & Destructor Documentation

CoordCOMConstraint::CoordCOMConstraint ( sptr< AtomGroup atm,
bool  fixx,
bool  fixy,
bool  fixz,
Vec  loc 
)
inline
CoordCOMConstraint::CoordCOMConstraint ( sptr< AtomGroup atm,
bool  fixx,
bool  fixy,
bool  fixz 
)
inline
CoordCOMConstraint::CoordCOMConstraint ( sptr< AtomGroup atm)
inline

Member Function Documentation

void CoordCOMConstraint::apply_forces ( Box box)
virtual

Implements Constraint.

void CoordCOMConstraint::apply_positions ( Box box)
virtual

Implements Constraint.

void CoordCOMConstraint::apply_velocities ( Box box)
virtual

Implements Constraint.

int CoordCOMConstraint::constrained_dof ( )
inlinevirtual

Implements Constraint.


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