Helper tools for dealing with Ewald summation related calculations.
More...
|
subroutine, public | get_alpha (lattice, alpha, multipole) |
| Convenience interface to determine Ewald splitting parameter.
|
|
real(wp) function, public | get_rec_cutoff (alpha, volume, conv) |
| Return cutoff for reciprocal contributions.
|
|
real(wp) function, public | get_dir_cutoff (alpha, conv) |
| Return cutoff for real-space contributions.
|
|
Helper tools for dealing with Ewald summation related calculations.
◆ get_alpha()
subroutine, public tblite_coulomb_ewald::get_alpha |
( |
real(wp), dimension(:, :), intent(in) | lattice, |
|
|
real(wp), intent(out) | alpha, |
|
|
logical, intent(in) | multipole ) |
Convenience interface to determine Ewald splitting parameter.
- Parameters
-
[in] | lattice | Lattice vectors |
[out] | alpha | Estimated Ewald splitting parameter |
[in] | multipole | Multipole expansion is used |
◆ get_dir_cutoff()
real(wp) function, public tblite_coulomb_ewald::get_dir_cutoff |
( |
real(wp), intent(in) | alpha, |
|
|
real(wp), intent(in) | conv ) |
Return cutoff for real-space contributions.
- Parameters
-
[in] | alpha | Parameter of Ewald summation |
[in] | conv | Tolerance for Ewald summation |
- Returns
- Magnitude of real-space vector
◆ get_rec_cutoff()
real(wp) function, public tblite_coulomb_ewald::get_rec_cutoff |
( |
real(wp), intent(in) | alpha, |
|
|
real(wp), intent(in) | volume, |
|
|
real(wp), intent(in) | conv ) |
Return cutoff for reciprocal contributions.
- Parameters
-
[in] | alpha | Parameter of Ewald summation |
[in] | volume | Volume of the unit cell |
[in] | conv | Tolerance value |
- Returns
- Magnitude of reciprocal vector