ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Routines to calculate the soft-sphere potential between particle pairs. More...
Go to the source code of this file.
Functions | |
double | soft_pair_force_factor (IA_parameters const &ia_params, double dist) |
Calculate soft-sphere force factor. | |
double | soft_pair_energy (IA_parameters const &ia_params, double dist) |
Calculate soft-sphere energy. | |
Routines to calculate the soft-sphere potential between particle pairs.
Implementation in soft_sphere.cpp
Definition in file soft_sphere.hpp.
|
inline |
Calculate soft-sphere energy.
Definition at line 53 of file soft_sphere.hpp.
References SoftSphere_Parameters::a, SoftSphere_Parameters::max_cutoff(), SoftSphere_Parameters::n, SoftSphere_Parameters::offset, and IA_parameters::soft_sphere.
Referenced by calc_non_bonded_pair_energy().
|
inline |
Calculate soft-sphere force factor.
Definition at line 39 of file soft_sphere.hpp.
References SoftSphere_Parameters::a, SoftSphere_Parameters::max_cutoff(), SoftSphere_Parameters::n, SoftSphere_Parameters::offset, and IA_parameters::soft_sphere.
Referenced by calc_central_radial_force().