vibeqc.PeriodicDispersionResult¶
- class vibeqc.PeriodicDispersionResult(energy, gradient, stress, backend, supercell)[source]¶
Bases:
objectPer-unit-cell dispersion energy plus optional gradient.
- Parameters:
- gradient¶
(n_atoms, 3)array of ∂E_disp / ∂r_A in Hartree / bohr, or shape(0, 3)whenwith_gradient=False.- Type:
np.ndarray
- stress¶
(3, 3)cell stress tensor in Hartree / bohr³, orNonewhen not provided by the backend / not requested.- Type:
np.ndarray | None
- supercell¶
Supercell expansion used by the builtin backend.
(1, 1, 1)for the dftd3 backend (it handles the lattice sum internally).
- __init__(energy, gradient, stress, backend, supercell)¶
Methods
__init__(energy, gradient, stress, backend, ...)Attributes