ParM  parm
A molecular dynamics library
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
BondAngle Class Reference

#include <interaction.hpp>

Public Member Functions

 BondAngle (const flt k, const flt theta, const bool cosine=false)
 
flt energy (const Vec &diff1, const Vec &diff2)
 
array< Vec, 3 > forces (const Vec &diff1, const Vec &diff2)
 
 ~BondAngle ()
 

Static Public Member Functions

static flt get_angle (const Vec &r1, const Vec &r2)
 

Protected Attributes

flt springk
 
flt theta0
 
bool usecos
 

Constructor & Destructor Documentation

BondAngle::BondAngle ( const flt  k,
const flt  theta,
const bool  cosine = false 
)
inline
BondAngle::~BondAngle ( )
inline

Member Function Documentation

flt BondAngle::energy ( const Vec diff1,
const Vec diff2 
)
array< Vec, 3 > BondAngle::forces ( const Vec diff1,
const Vec diff2 
)
static flt BondAngle::get_angle ( const Vec r1,
const Vec r2 
)
inlinestatic

Member Data Documentation

flt BondAngle::springk
protected
flt BondAngle::theta0
protected
bool BondAngle::usecos
protected

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