33#ifdef ESPRESSO_TABULATED
48 return ia_params.
tab.
force(dist) / dist;
Vector implementation and trait types for boost qvm interoperability.
Various procedures concerning interactions between particles.
double tabulated_pair_force_factor(IA_parameters const &ia_params, double dist)
Calculate a non-bonded pair force factor by linear interpolation from a table.
double tabulated_pair_energy(IA_parameters const &ia_params, double dist)
Calculate a non-bonded pair energy by linear interpolation from a table.
Parameters for non-bonded interactions.
double force(double x) const
Evaluate the force at position x.
double energy(double x) const
Evaluate the energy at position x.