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

#include <constraints.hpp>

Inheritance diagram for RelativeConstraint:
Constraint

Public Member Functions

 RelativeConstraint (Atom *atm1, Atom *atm2, bool fixx, bool fixy, bool fixz, Vec loc)
 
 RelativeConstraint (Atom *atm1, Atom *atm2, bool fixx, bool fixy, bool fixz)
 
 RelativeConstraint (Atom *atm1, Atom *atm2)
 
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

RelativeConstraint::RelativeConstraint ( Atom atm1,
Atom atm2,
bool  fixx,
bool  fixy,
bool  fixz,
Vec  loc 
)
inline
RelativeConstraint::RelativeConstraint ( Atom atm1,
Atom atm2,
bool  fixx,
bool  fixy,
bool  fixz 
)
inline
RelativeConstraint::RelativeConstraint ( Atom atm1,
Atom atm2 
)
inline

Member Function Documentation

void RelativeConstraint::apply_forces ( Box box)
virtual

Implements Constraint.

void RelativeConstraint::apply_positions ( Box box)
virtual

Implements Constraint.

void RelativeConstraint::apply_velocities ( Box box)
virtual

Implements Constraint.

int RelativeConstraint::constrained_dof ( )
inlinevirtual

Implements Constraint.


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