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

TypeIntentOptionalAttributesName
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_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_split_element_2d_test ply_split_element_2D_test proc~ply_split_element_2d_test->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_init_modg_multilevelcoeffs ply_init_modg_multilevelCoeffs proc~ply_init_modg_multilevelcoeffs->proc~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_poly_project_fillbody ply_poly_project_fillbody proc~ply_poly_project_fillbody->proc~ply_init_l2p proc~ply_split_element_test ply_split_element_test proc~ply_split_element_test->proc~ply_split_element_3d_test proc~ply_split_element_test->proc~ply_split_element_2d_test proc~ply_split_element_test->proc~ply_split_element_1d_test proc~ply_sampled_track_output ply_sampled_track_output proc~ply_sampled_track_output->proc~ply_sample_data program~sdr_harvesting sdr_harvesting program~sdr_harvesting->proc~ply_sampled_track_output proc~sdr_proto2treelm sdr_proto2treelm proc~sdr_proto2treelm->proc~ply_poly_project_fillbody proc~ply_fill_project_list ply_fill_project_list proc~ply_fill_project_list->proc~ply_poly_project_fillbody program~seeder seeder program~seeder->proc~sdr_proto2treelm

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iDegree
real(kind=rk), private :: n_q