ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Routines to calculate the Weeks-Chandler-Andersen potential between particle pairs. More...
#include "config/config.hpp"
#include "nonbonded_interaction_data.hpp"
#include <utils/Vector.hpp>
#include <utils/math/int_pow.hpp>
#include <utils/math/sqr.hpp>
Go to the source code of this file.
Functions | |
double | wca_pair_force_factor (IA_parameters const &ia_params, double dist) |
Calculate WCA force factor. | |
double | wca_pair_energy (IA_parameters const &ia_params, double dist) |
Calculate WCA energy. | |
Routines to calculate the Weeks-Chandler-Andersen potential between particle pairs.
Implementation in wca.cpp.
Definition in file wca.hpp.
|
inline |
Calculate WCA energy.
Definition at line 49 of file wca.hpp.
References WCA_Parameters::cut, WCA_Parameters::eps, WCA_Parameters::sig, Utils::sqr(), and IA_parameters::wca.
Referenced by calc_non_bonded_pair_energy().
|
inline |
Calculate WCA force factor.
Definition at line 39 of file wca.hpp.
References WCA_Parameters::cut, WCA_Parameters::eps, WCA_Parameters::sig, and IA_parameters::wca.
Referenced by calc_central_radial_force().