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

#include <interaction.hpp>

Inheritance diagram for SCSpringPair:
SCPair

Public Member Functions

 SCSpringPair (IDPair &p1, IDPair &p2, flt eps, flt sig, flt l1, flt l2)
 
 SCSpringPair (IDPair &p1, IDPair &p2, flt eps, flt sig, flt l)
 
flt max_dist ()
 
flt max_delta ()
 
flt energy (Box &box, SpheroCylinderDiff diff)
 
Vec forces (Box &box, SpheroCylinderDiff diff)
 
- Public Member Functions inherited from SCPair
 SCPair (IDPair &p1, IDPair &p2, flt l1, flt l2)
 
 SCPair (IDPair &p1, IDPair &p2, flt l)
 
 SCPair (const SCPair &other)
 
SpheroCylinderDiff nearest_location (Box &box)
 
void apply_force (Box &box, Vec f, SpheroCylinderDiff diff, flt I1, flt I2)
 
void apply_force (Box &box, Vec f, SpheroCylinderDiff diff, flt I)
 

Public Attributes

flt eps
 Harmonic repulsive interactions between spherocylinders. More...
 
flt sig
 
- Public Attributes inherited from SCPair
IDPairp1
 
IDPairp2
 
flt l1
 
flt l2
 

Constructor & Destructor Documentation

SCSpringPair::SCSpringPair ( IDPair p1,
IDPair p2,
flt  eps,
flt  sig,
flt  l1,
flt  l2 
)
inline
SCSpringPair::SCSpringPair ( IDPair p1,
IDPair p2,
flt  eps,
flt  sig,
flt  l 
)
inline

Member Function Documentation

flt SCSpringPair::energy ( Box box,
SpheroCylinderDiff  diff 
)
inline
Vec SCSpringPair::forces ( Box box,
SpheroCylinderDiff  diff 
)
inline
flt SCSpringPair::max_delta ( )
inline
flt SCSpringPair::max_dist ( )
inline

Member Data Documentation

flt SCSpringPair::eps

Harmonic repulsive interactions between spherocylinders.

flt SCSpringPair::sig

The documentation for this struct was generated from the following file: