ModelTwoBodyTable
-
class ModelTwoBodyTable : public feasst::ModelTwoBody
Tabulate two-body models and interpolate their interactions during the simulation. Scale distances,r, by the parameter z, which has more resolution at lower r. \(z=[(1/r^2 - 1/r_h^2)/(1/r_c^2 - 1/r_h^2)]\) Because there is a higher resolution at lower r, it is best if the hard_sphere_threshold parameter is tuned well for the specific model.
Arguments
hard_sphere_threshold: when r < threshold*sigma, return NEAR_INFINITY (default: 0.85).