| 63 |
|
static void initialize(); |
| 64 |
|
static void addType(AtomType* atomType); |
| 65 |
|
static void addExplicitInteraction(AtomType* atype1, AtomType* atype2, RealType sigma, RealType epsilon); |
| 66 |
< |
static void calcForce(AtomType* at1, AtomType* at2, Vector3d d, RealType rij, RealType r2, RealType rcut, RealType sw, RealType vdwMult, RealType vpair, RealType pot, Vector3d f1); |
| 66 |
> |
static void calcForce(AtomType* at1, AtomType* at2, const Vector3d d, const RealType rij, const RealType r2, const RealType rcut, const RealType sw, const RealType vdwMult, RealType &vpair, RealType &pot, Vector3d &f1); |
| 67 |
|
|
| 68 |
|
// Fortran support routines; |
| 69 |
|
static RealType getSigma(int atid); |
| 85 |
|
static RealType getSigma(AtomType* atomType1, AtomType* atomType2); |
| 86 |
|
static RealType getEpsilon(AtomType* atomType1, AtomType* atomType2); |
| 87 |
|
|
| 88 |
< |
static void getLJfunc(const RealType r, RealType pot, RealType deriv); |
| 88 |
> |
static void getLJfunc(const RealType r, RealType &pot, RealType &deriv); |
| 89 |
|
|
| 90 |
|
static bool initialized_; |
| 91 |
|
// LJMap will be used for providing access from Fortran. |