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

◆ 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 LJ_Parameters::eps, IA_parameters::lj, LJ_Parameters::max_cutoff(), LJ_Parameters::min_cutoff(), LJ_Parameters::offset, and LJ_Parameters::sig.

Referenced by calc_central_radial_force().