qimpy.grid.coulomb.Kernel
- class Kernel(*args, **kwargs)
Bases:
ProtocolSpecification for Coulomb kernel.
- __init__(*args, **kwargs)
Methods
Return stress due to Coulomb interaction between rho1 and rho2.
Attributes
G=0 correction to kernel for ion width
- stress(rho1, rho2)
Return stress due to Coulomb interaction between rho1 and rho2. The result has dimensions of energy, appropriate for adding to lattice.grad.
- G0_correction: float
G=0 correction to kernel for ion width