![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Routines to calculate the Lennard-Jones with cosine tail potential between particle pairs. More...
#include "config/config.hpp"#include "nonbonded_interaction_data.hpp"#include <utils/math/int_pow.hpp>#include <utils/math/sqr.hpp>#include <cmath>#include <numbers>
Include dependency graph for ljcos2.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| double | ljcos2_pair_force_factor (IA_parameters const &ia_params, double dist) |
| Calculate Lennard-Jones cosine squared force factor. | |
| double | ljcos2_pair_energy (IA_parameters const &ia_params, double dist) |
| Calculate Lennard-Jones cosine squared energy. | |
Routines to calculate the Lennard-Jones with cosine tail potential between particle pairs.
Cosine tail is different from that in ljcos.hpp. Used for attractive tail/tail interactions in lipid bilayer calculations.
Implementation in ljcos2.cpp.
Definition in file ljcos2.hpp.
|
inline |
Calculate Lennard-Jones cosine squared energy.
Definition at line 66 of file ljcos2.hpp.
References Utils::sqr(), and stream.
Referenced by calc_non_bonded_pair_energy().
|
inline |
Calculate Lennard-Jones cosine squared force factor.
Definition at line 46 of file ljcos2.hpp.
References stream.
Referenced by calc_central_radial_force().