ply_legendre_1D Function

public pure function ply_legendre_1D(points, degree) result(one_dim_eval)

Evaluate all 1D Legendre polynomials at a given set of points up to the given degree.

init the first two Legendre polynomials. ... the first Legendre polynomial is 1

... the second Legendre polynomial is x Recursive polynomial evaluation: \f$ n L_{n}(x)= (2n - 1) x L_{n-1}(x) - (n-1)L_{n-2}(x) \f$

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: points(:)

1D points to evaluate.

integer, intent(in) :: degree

Degree up to which to evaluate the polynomials

Return Value real(kind=rk), (degree+1,size(points))

Resulting vector of all mode values at all points


Called by

proc~~ply_legendre_1d~~CalledByGraph proc~ply_legendre_1d ply_legendre_1D proc~ply_init_l2p ply_init_l2p proc~ply_init_l2p->proc~ply_legendre_1d proc~ply_init_modg_covolumecoeffs ply_init_modg_covolumeCoeffs proc~ply_init_modg_covolumecoeffs->proc~ply_legendre_1d proc~ply_split_element_1d_test ply_split_element_1D_test proc~ply_split_element_1d_test->proc~ply_legendre_1d proc~ply_split_element_3d_test ply_split_element_3D_test proc~ply_split_element_3d_test->proc~ply_legendre_1d proc~ply_sample_data ply_sample_data proc~ply_sample_data->proc~ply_legendre_1d proc~ply_check_legtopnt~2 ply_check_legToPnt proc~ply_check_legtopnt~2->proc~ply_legendre_1d proc~ply_check_pnttoleg~2 ply_check_pntToLeg proc~ply_check_pnttoleg~2->proc~ply_legendre_1d program~ply_split_legendre_test_prog ply_split_legendre_test_prog program~ply_split_legendre_test_prog->proc~ply_legendre_1d proc~ply_init_modg_multilevelcoeffs ply_init_modg_multilevelCoeffs proc~ply_init_modg_multilevelcoeffs->proc~ply_legendre_1d proc~ply_split_element_2d_test ply_split_element_2D_test proc~ply_split_element_2d_test->proc~ply_legendre_1d proc~ply_check_legtopnt ply_check_legToPnt proc~ply_check_legtopnt->proc~ply_legendre_1d proc~ply_check_pnttoleg ply_check_pntToLeg proc~ply_check_pnttoleg->proc~ply_legendre_1d program~approximate_1d_jump approximate_1D_jump program~approximate_1d_jump->proc~ply_legendre_1d program~approximate_1d_jump->proc~ply_init_modg_multilevelcoeffs program~integrateleg_test integrateLeg_test program~integrateleg_test->proc~ply_legendre_1d proc~ply_poly_project_fillbody ply_poly_project_fillbody proc~ply_poly_project_fillbody->proc~ply_init_l2p proc~ply_sampled_track_output ply_sampled_track_output proc~ply_sampled_track_output->proc~ply_sample_data proc~atl_init_spacebasis atl_init_spacebasis proc~atl_init_spacebasis->proc~ply_init_modg_covolumecoeffs proc~atl_init_spacebasis->proc~ply_init_modg_multilevelcoeffs proc~ply_split_element_test ply_split_element_test proc~ply_split_element_test->proc~ply_split_element_1d_test proc~ply_split_element_test->proc~ply_split_element_3d_test proc~ply_split_element_test->proc~ply_split_element_2d_test program~ply_fpt_test ply_fpt_test program~ply_fpt_test->proc~ply_check_legtopnt~2 program~ply_ifpt_test ply_ifpt_test program~ply_ifpt_test->proc~ply_check_pnttoleg~2 program~ply_l2p_test ply_l2p_test program~ply_l2p_test->proc~ply_init_l2p program~ply_fpt_lobattonodes_test ply_fpt_lobattoNodes_test program~ply_fpt_lobattonodes_test->proc~ply_check_legtopnt program~ply_ifpt_lobattonodes_test ply_ifpt_lobattoNodes_test program~ply_ifpt_lobattonodes_test->proc~ply_check_pnttoleg

Contents