Lines Matching refs:ndegree
785 … PetscReal a, PetscReal b, PetscInt k, const PetscReal *points, PetscInt ndegree, const PetscInt *… in PetscDTJacobiEval_Internal() argument
792 maxdegree = degrees[ndegree - 1] - k; in PetscDTJacobiEval_Internal()
798 for (l = 0; l < ndegree; l++) p[i * ndegree + l] = 0.; in PetscDTJacobiEval_Internal()
811 while (l < ndegree && degrees[l] - k < 0) p[l++] = 0.; in PetscDTJacobiEval_Internal()
812 while (l < ndegree && degrees[l] - k == 0) { in PetscDTJacobiEval_Internal()
817 while (l < ndegree && degrees[l] - k == 1) { in PetscDTJacobiEval_Internal()
829 while (l < ndegree && degrees[l] - k == j) { in PetscDTJacobiEval_Internal()
835 p += ndegree; in PetscDTJacobiEval_Internal()
916 …ints, PetscReal alpha, PetscReal beta, const PetscReal *points, PetscInt ndegree, const PetscInt *… in PetscDTJacobiEval() argument
921 if (!npoints || !ndegree) PetscFunctionReturn(PETSC_SUCCESS); in PetscDTJacobiEval()
922 …if (B) PetscCall(PetscDTJacobiEval_Internal(npoints, alpha, beta, 0, points, ndegree, degrees, B)); in PetscDTJacobiEval()
923 …if (D) PetscCall(PetscDTJacobiEval_Internal(npoints, alpha, beta, 1, points, ndegree, degrees, D)); in PetscDTJacobiEval()
924 …if (D2) PetscCall(PetscDTJacobiEval_Internal(npoints, alpha, beta, 2, points, ndegree, degrees, D2… in PetscDTJacobiEval()
948 PetscErrorCode PetscDTLegendreEval(PetscInt npoints, const PetscReal *points, PetscInt ndegree, con… in PetscDTLegendreEval() argument
951 PetscCall(PetscDTJacobiEval(npoints, 0., 0., points, ndegree, degrees, B, D, D2)); in PetscDTLegendreEval()
2842 …etscDTLegendreIntegrate(PetscInt ninterval, const PetscReal *x, PetscInt ndegree, const PetscInt *… in PetscDTLegendreIntegrate() argument
2848 PetscCall(PetscMalloc1((ninterval + 1) * ndegree, &Bv)); in PetscDTLegendreIntegrate()
2850 PetscCall(PetscDTLegendreEval(ninterval + 1, x, ndegree, degrees, Bv, NULL, NULL)); in PetscDTLegendreIntegrate()
2853 for (j = 0; j < ndegree; j++) { in PetscDTLegendreIntegrate()
2854 if (Transpose) B[i + ninterval * j] = Bv[(i + 1) * ndegree + j] - Bv[i * ndegree + j]; in PetscDTLegendreIntegrate()
2855 else B[i * ndegree + j] = Bv[(i + 1) * ndegree + j] - Bv[i * ndegree + j]; in PetscDTLegendreIntegrate()