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

#include <interaction.hpp>

Public Member Functions

 LJAttract (const flt epsilon, const flt sigma)
 
flt energy (const Vec &diff)
 
Vec forces (const Vec &diff)
 

Static Public Member Functions

static flt energy (const Vec diff, const flt eps, const flt sig)
 
static flt energy (const flt rsig)
 
static Vec forces (const Vec diff, const flt eps, const flt sig)
 
static flt forces (const flt rsig)
 

Protected Attributes

flt epsilon
 
flt sigma
 

Constructor & Destructor Documentation

LJAttract::LJAttract ( const flt  epsilon,
const flt  sigma 
)
inline

Member Function Documentation

static flt LJAttract::energy ( const Vec  diff,
const flt  eps,
const flt  sig 
)
inlinestatic
static flt LJAttract::energy ( const flt  rsig)
inlinestatic
flt LJAttract::energy ( const Vec diff)
inline
static Vec LJAttract::forces ( const Vec  diff,
const flt  eps,
const flt  sig 
)
inlinestatic
static flt LJAttract::forces ( const flt  rsig)
inlinestatic
Vec LJAttract::forces ( const Vec diff)
inline

Member Data Documentation

flt LJAttract::epsilon
protected
flt LJAttract::sigma
protected

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