CGCOEFF Interface

public interface CGCOEFF

Calls

interface~~cgcoeff~~CallsGraph interface~cgcoeff CGCOEFF proc~cgcoeff_dp CGCOEFF_DP interface~cgcoeff->proc~cgcoeff_dp interface~log_fact LOG_FACT proc~cgcoeff_dp->interface~log_fact proc~log_fact_dp LOG_FACT_DP interface~log_fact->proc~log_fact_dp

Called by

interface~~cgcoeff~~CalledByGraph interface~cgcoeff CGCOEFF proc~gwi_dp GWI_DP proc~gwi_dp->interface~cgcoeff proc~gwj_dp GWJ_DP proc~gwj_dp->interface~cgcoeff proc~symbol3j_dp SYMBOL3J_DP proc~symbol3j_dp->interface~cgcoeff interface~gwi GWI interface~gwi->proc~gwi_dp interface~gwj GWJ interface~gwj->proc~gwj_dp interface~symbol3j SYMBOL3J interface~symbol3j->proc~symbol3j_dp proc~run_gwi_sweep RUN_GWI_SWEEP proc~run_gwi_sweep->interface~gwi proc~run_gwj_sweep RUN_GWJ_SWEEP proc~run_gwj_sweep->interface~gwj proc~test1_gw TEST1_GW proc~test1_gw->interface~gwi proc~test2_gw TEST2_GW proc~test2_gw->interface~gwi proc~test2_gw->interface~gwj program~gwi_gwj_sweep GWI_GWJ_SWEEP program~gwi_gwj_sweep->proc~run_gwi_sweep program~gwi_gwj_sweep->proc~run_gwj_sweep program~main MAIN program~main->proc~test1_gw program~main->proc~test2_gw

Module Procedures

private function CGCOEFF_DP(J1, M1, J2, M2, J3, M3) result(CGCOEFF)

Clebsch-Gordan coefficient for coupling two angular momenta to a total , via the closed-form Racah sum (evaluated in log-factorial form for numerical stability at large arguments -- see LOG_FACT): where . Adapted from David Simpson (NASA GSFC). Automatically returns 0 for any invalid combination -- violated triangle inequality , , or -- so it is always safe to call with an arbitrary sextuple of integers, e.g. when sweeping a parameter range.

Read more…

Arguments

Type IntentOptional Attributes Name
integer(kind=i4), intent(in) :: J1

First angular momentum, .

integer(kind=i4), intent(in) :: M1

First projection, .

integer(kind=i4), intent(in) :: J2

Second angular momentum, .

integer(kind=i4), intent(in) :: M2

Second projection, .

integer(kind=i4), intent(in) :: J3

Coupled angular momentum, .

integer(kind=i4), intent(in) :: M3

Coupled projection, .

Return Value real(kind=dp)