21#ifndef CORE_NB_IA_LJCOS2_HPP
22#define CORE_NB_IA_LJCOS2_HPP
52 auto const frac6 = Utils::int_pow<6>(ia_params.
ljcos2.
sig / r_off);
53 fac = 48. * ia_params.
ljcos2.
eps * frac6 * (frac6 - 0.5) / (r_off * dist);
70 auto const frac6 = Utils::int_pow<6>(ia_params.
ljcos2.
sig / r_off);
This file contains the defaults for ESPResSo.
double ljcos2_pair_energy(IA_parameters const &ia_params, double dist)
Calculate Lennard-Jones cosine squared energy.
double ljcos2_pair_force_factor(IA_parameters const &ia_params, double dist)
Calculate Lennard-Jones cosine squared force factor.
DEVICE_QUALIFIER constexpr T sqr(T x)
Calculates the SQuaRe of x.
Various procedures concerning interactions between particles.
Parameters for non-bonded interactions.