struct rgpot::QuinticSwitch¶
Overview¶
Detailed Documentation¶
Fields¶
double r_on {0.0}
Where the switch starts (Angstrom).
double inv_width {0.0}
1 / (cutoff - r_on).
Methods¶
static QuinticSwitch endingAt(double cutoff, double width)
Switch over the last width Angstrom below cutoff. Throws std::invalid_argument unless 0 < width <= cutoff.