tblite
Light-weight tight-binding framework
Loading...
Searching...
No Matches
tblite_coulomb_ewald Module Reference

Helper tools for dealing with Ewald summation related calculations. More...

Data Types

interface  get_value
 Interaction at specified distance. More...
 

Functions/Subroutines

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.
 

Detailed Description

Helper tools for dealing with Ewald summation related calculations.

Function/Subroutine Documentation

◆ 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]latticeLattice vectors
[out]alphaEstimated Ewald splitting parameter
[in]multipoleMultipole 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]alphaParameter of Ewald summation
[in]convTolerance 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]alphaParameter of Ewald summation
[in]volumeVolume of the unit cell
[in]convTolerance value
Returns
Magnitude of reciprocal vector