subroutine grid_get_angular (record,aqu,lmin,lmax,crowd,acca) subroutine grid_set_angular (record,aqu,lmin,lmax,crowd,acca) implicit double precision (a-h,o-z) character *(*) aqu integer lmin(0:*),lmax(0:*)Specify the details of the angular quadrature scheme. The default choice for aqu is 'LEBEDEV' (ie. as in A. D. Becke, J. Chem. Phys. 88 (1988) 2547) which provides angular grids of octahedral symmetry. The alternative choice for aqu is 'LEGENDRE' which gives Gauss-Legendre quadrature in
lmin
and lmax
specify allowed ranges of lmax
.
crowd is a parameter to control the reduction of the degree of
quadrature close to the nucleus, where points would otherwise be
unnecessarily
close together; larger values of crowd
mean less reduction thus larger grids.
A very large value of this parameter, or, conventionally, setting it
to zero, will switch off this feature.
acca
is a target energy accuracy.
It is used
to reduce for a given radial point as far as possible below
lmax
but not lower than lmin
.
The implementation uses the error in the angular integral of the
kernel of the Slater-Dirac exchange functional using a sum of
approximate atomic densities.
If acca
is zero, the global threshold is used instead, or else
it is ignored.
P.J. Knowles and H.-J. Werner