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

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.
 

Detailed Description

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.

Function Documentation

◆ ljcos2_pair_energy()

double ljcos2_pair_energy ( IA_parameters const &  ia_params,
double  dist 
)
inline

◆ ljcos2_pair_force_factor()

double ljcos2_pair_force_factor ( IA_parameters const &  ia_params,
double  dist 
)
inline