Searched refs:pkd_coeffs (Results 1 – 1 of 1) sorted by relevance
39 PetscReal *pkd_coeffs; in testDerivativesLegendre() local68 PetscCall(PetscMalloc2(Np, &lgndre_coeffs, Np, &pkd_coeffs)); in testDerivativesLegendre()76 PetscCall(PetscArrayzero(pkd_coeffs, Np)); in testDerivativesLegendre()97 for (j = 0; j < Np; j++) pkd_coeffs[j] += proj[j * npoints + i] * val; in testDerivativesLegendre()117 for (j = 0; j < Np; j++) val += pkd_coeffs[j] * pkd_jet_basis[j * Nk + i]; in testDerivativesLegendre()156 PetscCall(PetscFree2(lgndre_coeffs, pkd_coeffs)); in testDerivativesLegendre()