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

A class that enforces rigid-body dynamics. More...

#include <constraints.hpp>

Inheritance diagram for RigidConstraint:
Constraint

Public Member Functions

 RigidConstraint (sptr< Box > box, sptr< AtomGroup > atms)
 
int constrained_dof ()
 
void apply_positions (Box &box)
 
void apply_velocities (Box &box)
 
void apply_forces (Box &box)
 
Matrix get_rotation ()
 
Matrix get_MoI ()
 
- Public Member Functions inherited from Constraint
virtual ~Constraint ()
 

Detailed Description

A class that enforces rigid-body dynamics.

Constructor & Destructor Documentation

RigidConstraint::RigidConstraint ( sptr< Box box,
sptr< AtomGroup atms 
)

Member Function Documentation

void RigidConstraint::apply_forces ( Box box)
virtual

Implements Constraint.

void RigidConstraint::apply_positions ( Box box)
virtual

Implements Constraint.

void RigidConstraint::apply_velocities ( Box box)
virtual

Implements Constraint.

int RigidConstraint::constrained_dof ( )
inlinevirtual

Implements Constraint.

Matrix RigidConstraint::get_MoI ( )
inline
Matrix RigidConstraint::get_rotation ( )

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