ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Routines to calculate the smooth step potential between particle pairs. More...
#include "config/config.hpp"
#include "nonbonded_interaction_data.hpp"
#include <utils/Vector.hpp>
#include <utils/math/sqr.hpp>
#include <cmath>
Go to the source code of this file.
Functions | |
double | SmSt_pair_force_factor (IA_parameters const &ia_params, double dist) |
Calculate smooth step force factor. | |
double | SmSt_pair_energy (IA_parameters const &ia_params, double dist) |
Calculate smooth step energy. | |
Routines to calculate the smooth step potential between particle pairs.
Implementation in smooth_step.cpp.
Definition in file smooth_step.hpp.
|
inline |
Calculate smooth step energy.
Definition at line 59 of file smooth_step.hpp.
References SmoothStep_Parameters::cut, SmoothStep_Parameters::d, SmoothStep_Parameters::eps, SmoothStep_Parameters::k0, SmoothStep_Parameters::n, SmoothStep_Parameters::sig, and IA_parameters::smooth_step.
Referenced by calc_non_bonded_pair_energy().
|
inline |
Calculate smooth step force factor.
Definition at line 42 of file smooth_step.hpp.
References SmoothStep_Parameters::cut, SmoothStep_Parameters::d, SmoothStep_Parameters::eps, SmoothStep_Parameters::k0, SmoothStep_Parameters::n, SmoothStep_Parameters::sig, IA_parameters::smooth_step, and Utils::sqr().
Referenced by calc_central_radial_force().