# pair_style lj/relres command Accelerator Variants: *lj/relres/omp* ## Syntax ``` LAMMPS pair_style lj/relres Rsi Rso Rci Rco ``` - Rsi = inner switching cutoff between the fine-grained and coarse-grained potentials (distance units) - Rso = outer switching cutoff between the fine-grained and coarse-grained potentials (distance units) - Rci = inner cutoff beyond which the force smoothing for all interactions is applied (distance units) - Rco = outer cutoff for all interactions (distance units) ## Examples ``` LAMMPS pair_style lj/relres 4.0 5.0 8.0 10.0 pair_coeff 1 1 0.5 1.0 1.5 1.1 pair_coeff 2 2 0.5 1.0 0.0 0.0 3.0 3.5 6.0 7.0 ``` ## Description Pair style *lj/relres* computes a LJ interaction using the Relative Resolution (RelRes) framework which applies a fine-grained (FG) potential between near neighbors and a coarse-grained (CG) potential between far neighbors [(Chaimovich1)](Chaimovich1). This approach can improve the computational efficiency by almost an order of magnitude, while maintaining the correct static and dynamic behavior of a reference system [(Chaimovich2)](Chaimovich2). $$\begin{aligned} E = \left\{\begin{array}{lr} 4 \epsilon^{\scriptscriptstyle FG} \left[ \left(\frac{\sigma^{FG}}{r}\right)^{12} - \left(\frac{\sigma^{FG}}{r}\right)^6 \right]-\Gamma_{si}, & \quad\mathrm{if}\quad r< r_{si}, \\ \sum_{m=0}^{4} \gamma_{sm}\left(r-r_{si}\right)^m-\Gamma_{so} , & \quad\mathrm{if}\quad r_{si}\leq r< r_{so}, \\ 4 \epsilon^{\scriptscriptstyle CG} \left[ \left(\frac{\sigma^{CG}}{r}\right)^{12} - \left(\frac{\sigma^{CG}}{r}\right)^6 \right]-\Gamma_c, & \quad\mathrm{if}\quad r_{so}\leq r