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

#include <constraints.hpp>

Inheritance diagram for DistConstraint:
Constraint

Public Member Functions

 DistConstraint (AtomID atm1, AtomID atm2, flt dist)
 
 DistConstraint (AtomID atm1, AtomID 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

DistConstraint::DistConstraint ( AtomID  atm1,
AtomID  atm2,
flt  dist 
)
inline
DistConstraint::DistConstraint ( AtomID  atm1,
AtomID  atm2 
)
inline

Member Function Documentation

void DistConstraint::apply_forces ( Box box)
virtual

Implements Constraint.

void DistConstraint::apply_positions ( Box box)
virtual

Implements Constraint.

void DistConstraint::apply_velocities ( Box box)
virtual

Implements Constraint.

int DistConstraint::constrained_dof ( )
inlinevirtual

Implements Constraint.


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