GWI_DP Function

private function GWI_DP(J1, M1, J2, M2, L, M) result(GWI)

Geppert-Wiebicke axisymmetric coupling coefficient (Geppert & Wiebicke, 1991), a compact shorthand for the generation/amplification amplitude of a two-mode interaction in the Hall-MHD induction equation: This is algebraically the standard Gaunt coefficient -- the closed form for -- written in terms of two CGCOEFF evaluations. Built entirely from CGCOEFF, which guards all selection rules, so GWI is safe to call with any integer sextuple and returns 0 for invalid combinations (unlike GWJ, see its own selection-rule note).

Returns: , complex (real-valued in practice, but returned as COMPLEX for a uniform interface with GWJ).

Arguments

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

First coupled degree, .

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

First coupled order, .

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

Second coupled degree, .

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

Second coupled order, .

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

Resulting degree, .

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

Resulting order, .

Return Value complex(kind=dp)


Calls

proc~~gwi_dp~~CallsGraph proc~gwi_dp GWI_DP interface~cgcoeff CGCOEFF proc~gwi_dp->interface~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

proc~~gwi_dp~~CalledByGraph proc~gwi_dp GWI_DP interface~gwi GWI interface~gwi->proc~gwi_dp proc~run_gwi_sweep RUN_GWI_SWEEP proc~run_gwi_sweep->interface~gwi proc~test1_gw TEST1_GW proc~test1_gw->interface~gwi proc~test2_gw TEST2_GW proc~test2_gw->interface~gwi program~gwi_gwj_sweep GWI_GWJ_SWEEP program~gwi_gwj_sweep->proc~run_gwi_sweep program~main MAIN program~main->proc~test1_gw program~main->proc~test2_gw

Source Code

  FUNCTION GWI_DP(J1,M1,J2,M2,L,M) RESULT(GWI)
  IMPLICIT NONE
  INTEGER(KIND=i4), INTENT(IN) :: J1
  INTEGER(KIND=i4), INTENT(IN) :: M1
  INTEGER(KIND=i4), INTENT(IN) :: J2
  INTEGER(KIND=i4), INTENT(IN) :: M2
  INTEGER(KIND=i4), INTENT(IN) :: L
  INTEGER(KIND=i4), INTENT(IN) :: M
  COMPLEX(KIND=dp) :: GWI
  GWI=DSQRT((2.d0*J1+1.d0)*(2.d0*J2+1.d0)/(2.d0*L+1.d0)/4.d0/pi)* &
    CGCOEFF(J1,0,J2,0,L,0)*CGCOEFF(J1,M1,J2,M2,L,M)
  RETURN
  END FUNCTION GWI_DP