Searched refs:chebyshev_dx (Results 1 – 5 of 5) sorted by relevance
23 inline __device__ void ChebyshevDerivativeAtPoint(const CeedScalar x, CeedScalar *chebyshev_dx) { in ChebyshevDerivativeAtPoint() argument28 chebyshev_dx[0] = 0.0; in ChebyshevDerivativeAtPoint()29 chebyshev_dx[1] = 2.0; in ChebyshevDerivativeAtPoint()32 …chebyshev_dx[i] = 2 * x * chebyshev_dx[i - 1] + 2 * chebyshev_x[(i + 0) % 3] - chebyshev_… in ChebyshevDerivativeAtPoint()
66 static int CeedChebyshevDerivativeAtPoint(CeedScalar x, CeedInt n, CeedScalar *chebyshev_dx) { in CeedChebyshevDerivativeAtPoint() argument71 chebyshev_dx[0] = 0.0; in CeedChebyshevDerivativeAtPoint()72 chebyshev_dx[1] = 2.0; in CeedChebyshevDerivativeAtPoint()77 chebyshev_dx[i] = 2 * x * chebyshev_dx[i - 1] + 2 * chebyshev_x[1] - chebyshev_dx[i - 2]; in CeedChebyshevDerivativeAtPoint()