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

#include <interaction.hpp>

Public Member Functions

 LJRepulsive (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 Vec forces (const Vec diff, const flt eps, const flt sig)
 

Protected Attributes

flt epsilon
 
flt sigma
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

flt LJRepulsive::epsilon
protected
flt LJRepulsive::sigma
protected

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