Searched refs:ninterval (Results 1 – 1 of 1) sorted by relevance
2842 static PetscErrorCode PetscDTLegendreIntegrate(PetscInt ninterval, const PetscReal *x, PetscInt nde… in PetscDTLegendreIntegrate() argument2848 PetscCall(PetscMalloc1((ninterval + 1) * ndegree, &Bv)); in PetscDTLegendreIntegrate()2850 PetscCall(PetscDTLegendreEval(ninterval + 1, x, ndegree, degrees, Bv, NULL, NULL)); in PetscDTLegendreIntegrate()2852 for (i = 0; i < ninterval; i++) { in PetscDTLegendreIntegrate()2854 if (Transpose) B[i + ninterval * j] = Bv[(i + 1) * ndegree + j] - Bv[i * ndegree + j]; in PetscDTLegendreIntegrate()