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

Routines to calculate the Lennard-Jones+cosine 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 dependency graph for ljcos.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double ljcos_pair_force_factor (IA_parameters const &ia_params, double dist)
 Calculate Lennard-Jones cosine force factor.
 
double ljcos_pair_energy (IA_parameters const &ia_params, double dist)
 Calculate Lennard-Jones cosine energy.
 

Detailed Description

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

Implementation in ljcos.cpp.

Definition in file ljcos.hpp.

Function Documentation

◆ ljcos_pair_energy()

double ljcos_pair_energy ( IA_parameters const ia_params,
double  dist 
)
inline

Calculate Lennard-Jones cosine energy.

Definition at line 64 of file ljcos.hpp.

References Utils::sqr(), and stream.

Referenced by calc_non_bonded_pair_energy().

◆ ljcos_pair_force_factor()

double ljcos_pair_force_factor ( IA_parameters const ia_params,
double  dist 
)
inline

Calculate Lennard-Jones cosine force factor.

Definition at line 43 of file ljcos.hpp.

References Utils::sqr(), and stream.

Referenced by calc_central_radial_force().