ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Routines to calculate the Morse potential between particle pairs. More...
#include "config/config.hpp"
#include "nonbonded_interaction_data.hpp"
#include <utils/math/sqr.hpp>
#include <cmath>
Go to the source code of this file.
Functions | |
double | morse_pair_force_factor (IA_parameters const &ia_params, double dist) |
Calculate Morse force factor. | |
double | morse_pair_energy (IA_parameters const &ia_params, double dist) |
Calculate Morse energy. | |
Routines to calculate the Morse potential between particle pairs.
Implementation in morse.cpp.
Definition in file morse.hpp.
|
inline |
Calculate Morse energy.
Definition at line 53 of file morse.hpp.
References Morse_Parameters::alpha, Morse_Parameters::cut, Morse_Parameters::eps, IA_parameters::morse, Morse_Parameters::rest, Morse_Parameters::rmin, and Utils::sqr().
Referenced by calc_non_bonded_pair_energy().
|
inline |
Calculate Morse force factor.
Definition at line 41 of file morse.hpp.
References Morse_Parameters::alpha, Morse_Parameters::cut, Morse_Parameters::eps, IA_parameters::morse, Morse_Parameters::rmin, and Utils::sqr().
Referenced by calc_central_radial_force().