grogupy._core.second_order_energy
- grogupy._core.second_order_energy(Vu1: ndarray[Any, dtype[_ScalarType_co]], Vu2: ndarray[Any, dtype[_ScalarType_co]], Gii: ndarray[Any, dtype[_ScalarType_co]], weights: ndarray[Any, dtype[_ScalarType_co]]) float[source]
The second order energy variation upon rotations.
Parameters
- Vu1NDArray
First order perturbation of a rotation
- Vu2NDArray
Second order perturbation of a rotation
- GiiNDArray
Green’s function slice
- weightsNDArray
The weights from the energy contour integral
Returns
- float
The second order energy variation