-
Notifications
You must be signed in to change notification settings - Fork 1
/
lj_params.h
30 lines (27 loc) · 1.12 KB
/
lj_params.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*! \file lj_params.h
\brief Provides the headers and documentation for the function that
* returns the Lennard-Jones parametes.
*/
/*! \fn double lj_sigma2(int i,int j);
* \brief Returns the value of the squared of the Lennard-Jones
* parameter sigma between atoms i and j. See the documentation of
* lj_grad.h
*
* The function returns the square of sigma and not sigma itself simply
* because the Lennard-Jones potential energy function depends only on
* even powers of the separation between the atoms. Finally, notice that
* this funcion is defined as an inline function to save time, specially
* in the case of homogeneous clusters in which it adopts the constant
* value sigma2(i,j)=1.
*/
/*! \fn double lj_epsilon(int i,int j);
* \brief Returns the value of the Lennard-Jones
* parameter epsilon between atoms i and j. See the documentation of
* lj_grad.h
*
* Notice that this funcion is defined as an inline function to save
* time, specially in the case of a homogeneous cluster in which it
* adopts the constant value epsilon(i,j)=1.
*/
double lj_sigma2(int i,int j);
double lj_epsilon(int i,int j);