interface rgpot_water_h::rgpot_fast_wrap

Overview

Minimum-image wrap from the minimage static library. More…

interface rgpot_fast_wrap {
    // methods
 
    integer(c_int) function rgpot_fast_wrap(real(c_double), dimension(*), intent(in) cell, real(c_double), dimension(*), intent(in) diffs, integer(c_size_t), value n, real(c_double), dimension(*), intent(out) out);
};

Detailed Documentation

Minimum-image wrap from the minimage static library.

Fractional rounding. Exact for an orthorhombic cell, and for a skewed cell when the wrapped length sits strictly inside half the smallest face altitude (Smith, CCP5, 1989). Outside that bound the 26-image scan below is the nearest image.