ASSOC_LEGENDRE_ALL Interface

public interface ASSOC_LEGENDRE_ALL

Calls

interface~~assoc_legendre_all~~CallsGraph interface~assoc_legendre_all ASSOC_LEGENDRE_ALL proc~assoc_legendre_all_dp ASSOC_LEGENDRE_ALL_DP interface~assoc_legendre_all->proc~assoc_legendre_all_dp proc~plm_index PLM_INDEX proc~assoc_legendre_all_dp->proc~plm_index

Called by

interface~~assoc_legendre_all~~CalledByGraph interface~assoc_legendre_all ASSOC_LEGENDRE_ALL proc~batch_alm_cons BATCH_ALM_CONS proc~batch_alm_cons->interface~assoc_legendre_all proc~batch_dalm_cons BATCH_DALM_CONS proc~batch_dalm_cons->interface~assoc_legendre_all proc~ssh_ortho SSH_ORTHO proc~ssh_ortho->interface~assoc_legendre_all program~convergence_main CONVERGENCE_MAIN program~convergence_main->interface~assoc_legendre_all program~convergence_main->proc~batch_alm_cons program~unnorm_stability_main UNNORM_STABILITY_MAIN program~unnorm_stability_main->interface~assoc_legendre_all program~main MAIN program~main->proc~batch_alm_cons program~main->proc~batch_dalm_cons program~main->proc~ssh_ortho

Module Procedures

private subroutine ASSOC_LEGENDRE_ALL_DP(P, LMAX, X)

All unnormalized associated Legendre functions for , via the Bonnet recurrence, in one pass (amortizing shared recurrence terms across every at fixed -- far cheaper than independent ASSOC_LEGENDRE calls). Condon-Shortley phase; same recurrence and same stability limit as ASSOC_LEGENDRE (see ASSOC_LEGENDRE_NORM_ALL for the far-more-stable normalized alternative, itself safe to ).

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(out) :: P((LMAX+1)*(LMAX+2)/2)
integer(kind=i4), intent(in) :: LMAX

Maximum degree, .

real(kind=dp), intent(in) :: X

Argument, (typically ).