21#ifndef CORE_NB_IA_LJ_HPP
22#define CORE_NB_IA_LJ_HPP
44 auto const r_off = dist - ia_params.
lj.
offset;
45 auto const frac6 = Utils::int_pow<6>(ia_params.
lj.
sig / r_off);
46 return 48.0 * ia_params.
lj.
eps * frac6 * (frac6 - 0.5) / (r_off * dist);
54 auto const r_off = dist - ia_params.
lj.
offset;
55 auto const frac6 = Utils::int_pow<6>(ia_params.
lj.
sig / r_off);
56 return 4.0 * ia_params.
lj.
eps *
Vector implementation and trait types for boost qvm interoperability.
This file contains the defaults for ESPResSo.
double lj_pair_force_factor(IA_parameters const &ia_params, double dist)
Calculate Lennard-Jones force factor.
double lj_pair_energy(IA_parameters const &ia_params, double dist)
Calculate Lennard-Jones energy.
DEVICE_QUALIFIER constexpr T sqr(T x)
Calculates the SQuaRe of x.
Various procedures concerning interactions between particles.
Parameters for non-bonded interactions.
double min_cutoff() const
double max_cutoff() const