The Ewald coefficient for a real-space cutoff.
The value alpha at which the screened interaction at the cutoff,
erfc(alpha r_c) / r_c, equals accuracy (bisection).
- Parameters:
cutoff (float) – Real-space cutoff in Angstrom.
accuracy (float, optional) – The screened interaction at the cutoff, by default 1e-8.
- Returns:
alpha in 1/Angstrom.
- Return type:
float