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

Routines to calculate the Hertzian potential between particle pairs. More...

#include "config/config.hpp"
#include "nonbonded_interaction_data.hpp"
#include <cmath>
+ Include dependency graph for hertzian.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double hertzian_pair_force_factor (IA_parameters const &ia_params, double dist)
 Calculate Hertzian force factor.
 
double hertzian_pair_energy (IA_parameters const &ia_params, double dist)
 Calculate Hertzian energy.
 

Detailed Description

Routines to calculate the Hertzian potential between particle pairs.

Implementation in hertzian.cpp.

Definition in file hertzian.hpp.

Function Documentation

◆ hertzian_pair_energy()

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

Calculate Hertzian energy.

Definition at line 49 of file hertzian.hpp.

References Hertzian_Parameters::eps, IA_parameters::hertzian, and Hertzian_Parameters::sig.

Referenced by calc_non_bonded_pair_energy().

◆ hertzian_pair_force_factor()

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

Calculate Hertzian force factor.

Definition at line 39 of file hertzian.hpp.

References Hertzian_Parameters::eps, IA_parameters::hertzian, and Hertzian_Parameters::sig.

Referenced by calc_central_radial_force().