21#ifndef CORE_NB_IA_LJCOS_HPP
22#define CORE_NB_IA_LJCOS_HPP
55 auto const frac6 = Utils::int_pow<6>(ia_params.
ljcos.
sig / r_off);
56 fac = 48.0 * ia_params.
ljcos.
eps * frac6 * (frac6 - 0.5) / (r_off * dist);
68 auto const frac6 = Utils::int_pow<6>(ia_params.
ljcos.
sig / r_off);
This file contains the defaults for ESPResSo.
double ljcos_pair_force_factor(IA_parameters const &ia_params, double dist)
Calculate Lennard-Jones cosine force factor.
double ljcos_pair_energy(IA_parameters const &ia_params, double dist)
Calculate Lennard-Jones cosine energy.
DEVICE_QUALIFIER constexpr T sqr(T x)
Calculates the SQuaRe of x.
Various procedures concerning interactions between particles.
Parameters for non-bonded interactions.