group Angular momentum functions

Angular momentum functions

Functions

Name
intjSpin(int pid)
jSpin returns 2J+1, where J is the total spin
intsSpin(int pid)
sSpin returns 2S+1, where S is the spin
intlSpin(int pid)
lSpin returns 2L+1, where L is the orbital angular momentum

Functions Documentation

function jSpin

inline int jSpin(
    int pid
)

jSpin returns 2J+1, where J is the total spin

function sSpin

inline int sSpin(
    int pid
)

sSpin returns 2S+1, where S is the spin

function lSpin

inline int lSpin(
    int pid
)

lSpin returns 2L+1, where L is the orbital angular momentum


Updated on 2022-08-07 at 20:17:17 +0100