
Transform matrix to spherical harmonics representation.
Transformation matrix is :
(of dimension ), where is the unit matrix,
is the antidiagonal unit matrix
\end{equation}
Transformation rule: Complex --> Real (VC --> VR)
with
LDIM corresponds to the dimension of the array VMAT as VMAT(2*LDIM+1,2*LDIM+1).
LL is the angular momentum l, corresponding to the part of VMAT used -- VMAT(2*LL+1,2*LL+1)
Result returns in again in VMAT (original VMAT is destroyed)
@note Warning
Original VMAT is destroyed.
Transform matrix to spherical harmonics representation.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer | :: | key | ||||
| integer | :: | ll | ||||
| integer | :: | ldim | ||||
| complex(kind=dp), | dimension(2*ldim+1, 2*ldim+1) | :: | vmat |