tblite
Light-weight tight-binding framework
Loading...
Searching...
No Matches
Functions/Subroutines | Variables
tblite_mesh_lebedev Module Reference

Generator for Lebedev-Laikov grids. Adapted from John Burkardt's portation of Dmitri Laikov's C implementation of. More...

Functions/Subroutines

pure subroutine, public get_angular_grid (nang, grid, weights, stat)
 Wrapper for generation of angular Lebedev-Laikov grids.
 
pure integer function, public list_bisection (list, val)
 Integer case for bisection search.
 

Variables

integer, dimension(32), parameter, public grid_size = [ 6, 14, 26, 38, 50, 74, 86, 110, 146, 170, 194, 230, 266, 302, 350, 434, 590, 770, 974, 1202, 1454, 1730, 2030, 2354, 2702, 3074, 3470, 3890, 4334, 4802, 5294, 5810]
 Available Lebedev-Laikov grids.
 

Detailed Description

Generator for Lebedev-Laikov grids. Adapted from John Burkardt's portation of Dmitri Laikov's C implementation of.

V.I. Lebedev, and D.N. Laikov, "A quadrature formula for the sphere of the 131st algebraic order of accuracy", Doklady Mathematics, Vol. 59, No. 3, 1999, pp. 477-481.

Function/Subroutine Documentation

◆ get_angular_grid()

pure subroutine, public tblite_mesh_lebedev::get_angular_grid ( integer, intent(in) nang,
real(wp), dimension(:, :), intent(out) grid,
real(wp), dimension(:), intent(out) weights,
integer, intent(out) stat )

Wrapper for generation of angular Lebedev-Laikov grids.

Parameters
[in]nangSize of the grid
[out]gridContains grid points on output
[out]weightsContains weights on output
[out]statStatus of generator

◆ list_bisection()

pure integer function, public tblite_mesh_lebedev::list_bisection ( integer, dimension(:), intent(in) list,
integer, intent(in) val )

Integer case for bisection search.

Parameters
[in]listArray of values in monotonic order to search through
[in]valValue to locate pos for
Returns
Located element such that list(pos) <= val < list(pos+1)