|
subroutine, public | x_slater_calc (namespace, gr, space, exxop, st, kpoints, ex, vxc) |
| Interface to X(slater_calc) More...
|
|
subroutine | get_rotation_matrix (dens, alpha, betar, betai) |
| This routine get the SU(2) matrix that diagonalize the spin-density matrix. More...
|
|
subroutine | rotate_to_local (mat, alpha, betar, betai, alpha2, beta2, rot_mat) |
| Rotation to the local frame Given a matrix in spin space, this routine rotates according to the rotation matrix R defined by the alpha and beta coefficients \(D = R M R^T\). More...
|
|
subroutine | rotate_to_global (mat, alpha, betar, betai, alpha2, beta2, rot_mat) |
| Rotation to the global (Cartesian) frame. More...
|
|
subroutine | dslater_calc (namespace, gr, space, exxop, st, kpoints, ex, vxc) |
|
subroutine | zslater_calc (namespace, gr, space, exxop, st, kpoints, ex, vxc) |
|
subroutine x_slater_oct_m::get_rotation_matrix |
( |
real(real64), dimension(:), intent(in) |
dens, |
|
|
real(real64), intent(out) |
alpha, |
|
|
real(real64), intent(out) |
betar, |
|
|
real(real64), intent(out) |
betai |
|
) |
| |
|
private |
This routine get the SU(2) matrix that diagonalize the spin-density matrix.
The matrix has the following form
\[
\begin{pmatrix}
\alpha & \beta \
-\beta^* & \alpha\
\end{pmatrix}
\]
where \(\alpha\) is real.
- Parameters
-
[in] | dens | spin-density matrix |
[out] | betai | Coefficients of the matrix |
Definition at line 178 of file x_slater.F90.