* I. Ostanin, R. Ballarini, D. Potyondy, T. Dumitrica, A distinct element method for large scale simulations of carbon nanotube assemblies, J. Mech. Phys. Solid. 61 (2013) 762-782.
* https://doi.org/10.1016/j.jmps.2012.10.016
*/
classIsotropicVDWContact
{
public:
template<typenameAccessor>
voidoperator()(constsize_tp_idx1,
constsize_tp_idx2,
Accessor&ac);
staticreal_tequilibriumDistance();
staticconstexprreal_teps=0.07124_r;
staticconstexprreal_tA=0.0223_r;
staticconstexprreal_tB=1.31_r;
staticconstexprreal_talpha=9.5_r;
staticconstexprreal_tbeta=4.0_r;
staticconstexprreal_tr=6.78_r;
staticconstexprreal_tRinv=1.0_r/r;
staticconstexprreal_tDc=0.4_r;
autogetLastForce()const{returnF_;}
autogetLastEnergy()const{returnU_;}
private:
real_tF_=0_r;///< resulting force from the last interaction
real_tU_=0_r;///< resulting energy from the last interaction