#include <lj.h>
Public Member Functions | |
lj_interaction (double C6, double C12) | |
double | energy (double r2, size_t atom_i, size_t atom_j) const |
double | energy_gradient (double r2, double *gij, size_t atom_i, size_t atom_j) const |
double | energy_gradient_hessian (double r2, double *gij, double *hij, size_t atom_i, size_t atom_j) const |
Public Attributes | |
double const | _C6 |
double const | _C12 |
double const | _6C6 |
double const | _12C12 |
double const | _42C6 |
double const | _156C12 |
pele::lj_interaction::lj_interaction | ( | double | C6, |
double | C12 | ||
) | [inline] |
double pele::lj_interaction::energy | ( | double | r2, |
size_t | atom_i, | ||
size_t | atom_j | ||
) | const [inline] |
double pele::lj_interaction::energy_gradient | ( | double | r2, |
double * | gij, | ||
size_t | atom_i, | ||
size_t | atom_j | ||
) | const [inline] |
double pele::lj_interaction::energy_gradient_hessian | ( | double | r2, |
double * | gij, | ||
double * | hij, | ||
size_t | atom_i, | ||
size_t | atom_j | ||
) | const [inline] |
double const pele::lj_interaction::_12C12 |
double const pele::lj_interaction::_156C12 |
double const pele::lj_interaction::_42C6 |
double const pele::lj_interaction::_6C6 |
double const pele::lj_interaction::_C12 |
double const pele::lj_interaction::_C6 |