ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
lj.hpp File Reference

Routines to calculate the Lennard-Jones potential between particle pairs. More...

+ Include dependency graph for lj.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double lj_pair_force_factor (IA_parameters const &ia_params, double dist)
 Calculate Lennard-Jones force factor.
 
double lj_pair_energy (IA_parameters const &ia_params, double dist)
 Calculate Lennard-Jones energy.
 

Detailed Description

Routines to calculate the Lennard-Jones potential between particle pairs.

Implementation in lj.cpp.

Definition in file lj.hpp.

Function Documentation

◆ lj_pair_energy()

double lj_pair_energy ( IA_parameters const ia_params,
double  dist 
)
inline

Calculate Lennard-Jones energy.

Definition at line 52 of file lj.hpp.

References Utils::sqr(), and stream.

Referenced by calc_non_bonded_pair_energy().

◆ lj_pair_force_factor()

double lj_pair_force_factor ( IA_parameters const ia_params,
double  dist 
)
inline

Calculate Lennard-Jones force factor.

Definition at line 41 of file lj.hpp.

References stream.

Referenced by calc_central_radial_force().