Ggrid¶
Ggrid is a class that keeps track of the set of reciprocal space grid points defined by the user defined kinetic energy cutoff parameter \(E_{cut}\).
KSSOLV works with reciprocal space grid points that are inside a sphere of radius \(r = \sqrt{\mathrm{Ecut}^2/2}\).
Class Function List¶
-
class
Molecule¶ -
-
Ggrid(mol) Constructor that returns a set of reciprocal space grid points associated with a unit (super)cell defined in the
molobject. These grid points satisfy the energy cutoff \(E_{cut}\) specified inmolalso.
-
Ggrid(mol, ecut) Constructor that returns a set of reciprocal space grid points associated with a unit (super)cell defined in the
molobject. These grid points satisfy the energy cutoff \(E_{cut}\) specified as an input.
-
Ggrid(gx, gy, gz, ecut) Constructor that returns a set of reciprocal space grid points defined by
gx,gy,gzand satisfy the \(E_{cut}\) constraint.
-
val = get(ggrid,key) A function that returns the value of an attribute of a
Ggridobjectggrid. The name of the attribute is specified by a key string which is defined below.
-
Class Attribute List¶
ecut¶A floating point number that gives the energy cutoff used to define the valid reciprocal space grid points.
idxnz¶A array that gives the index of each valid reciprocal space grid point in the 3D array that contains all reciprocal space points. This array is also used for a
Wavefunobject.
gkk¶A array that gives the magnitude square of each valid reciprocal space grid point.
gkx¶A array that gives the x-coordinate of each valid reciprocal space grid point.
gky¶A array that gives the y-coordinate of each valid reciprocal space grid point.
gkz¶A array that gives the z-coordinate of each valid reciprocal space grid point.