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

◆ ljcos_pair_force_factor()

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