Searched refs:chebyshev_x (Results 1 – 5 of 5) sorted by relevance
| /libCEED/include/ceed/jit-source/cuda/ |
| H A D | cuda-shared-basis-tensor-at-points-templates.h | 16 inline __device__ void ChebyshevPolynomialsAtPoint(const CeedScalar x, CeedScalar *chebyshev_x) { in ChebyshevPolynomialsAtPoint() argument 17 chebyshev_x[0] = 1.0; in ChebyshevPolynomialsAtPoint() 18 chebyshev_x[1] = 2 * x; in ChebyshevPolynomialsAtPoint() 19 …for (CeedInt i = 2; i < Q_1D; i++) chebyshev_x[i] = 2 * x * chebyshev_x[i - 1] - chebyshev_x[i - 2… in ChebyshevPolynomialsAtPoint() 24 CeedScalar chebyshev_x[3]; in ChebyshevDerivativeAtPoint() local 26 chebyshev_x[1] = 1.0; in ChebyshevDerivativeAtPoint() 27 chebyshev_x[2] = 2 * x; in ChebyshevDerivativeAtPoint() 31 chebyshev_x[(i + 1) % 3] = 2 * x * chebyshev_x[(i + 0) % 3] - chebyshev_x[(i + 2) % 3]; in ChebyshevDerivativeAtPoint() 32 …chebyshev_dx[i] = 2 * x * chebyshev_dx[i - 1] + 2 * chebyshev_x[(i + 0) % 3] - chebyshev_… in ChebyshevDerivativeAtPoint() 46 CeedScalar chebyshev_x[Q_1D]; in InterpAtPoints1d() local [all …]
|
| H A D | cuda-ref-basis-tensor-at-points.h | 16 inline __device__ void ChebyshevPolynomialsAtPoint(const CeedScalar x, CeedScalar *chebyshev_x) { in ChebyshevPolynomialsAtPoint() argument 17 chebyshev_x[0] = 1.0; in ChebyshevPolynomialsAtPoint() 18 chebyshev_x[1] = 2 * x; in ChebyshevPolynomialsAtPoint() 19 …for (CeedInt i = 2; i < Q_1D; i++) chebyshev_x[i] = 2 * x * chebyshev_x[i - 1] - chebyshev_x[i - 2… in ChebyshevPolynomialsAtPoint() 24 CeedScalar chebyshev_x[3]; in ChebyshevDerivativeAtPoint() local 26 chebyshev_x[1] = 1.0; in ChebyshevDerivativeAtPoint() 27 chebyshev_x[2] = 2 * x; in ChebyshevDerivativeAtPoint() 31 chebyshev_x[(i + 1) % 3] = 2 * x * chebyshev_x[(i + 0) % 3] - chebyshev_x[(i + 2) % 3]; in ChebyshevDerivativeAtPoint() 32 …chebyshev_dx[i] = 2 * x * chebyshev_dx[i - 1] + 2 * chebyshev_x[(i + 0) % 3] - chebyshev_… in ChebyshevDerivativeAtPoint() 53 …CeedScalar chebyshev_x[BASIS_Q_1D], buffer_1[POINTS_BUFF_LEN], buffer_2[POINTS_BUFF_LEN… in InterpAtPoints() local [all …]
|
| /libCEED/include/ceed/jit-source/hip/ |
| H A D | hip-shared-basis-tensor-at-points-templates.h | 16 inline __device__ void ChebyshevPolynomialsAtPoint(const CeedScalar x, CeedScalar *chebyshev_x) { in ChebyshevPolynomialsAtPoint() argument 17 chebyshev_x[0] = 1.0; in ChebyshevPolynomialsAtPoint() 18 chebyshev_x[1] = 2 * x; in ChebyshevPolynomialsAtPoint() 19 …for (CeedInt i = 2; i < Q_1D; i++) chebyshev_x[i] = 2 * x * chebyshev_x[i - 1] - chebyshev_x[i - 2… in ChebyshevPolynomialsAtPoint() 24 CeedScalar chebyshev_x[3]; in ChebyshevDerivativeAtPoint() local 26 chebyshev_x[1] = 1.0; in ChebyshevDerivativeAtPoint() 27 chebyshev_x[2] = 2 * x; in ChebyshevDerivativeAtPoint() 31 chebyshev_x[(i + 1) % 3] = 2 * x * chebyshev_x[(i + 0) % 3] - chebyshev_x[(i + 2) % 3]; in ChebyshevDerivativeAtPoint() 32 …chebyshev_dx[i] = 2 * x * chebyshev_dx[i - 1] + 2 * chebyshev_x[(i + 0) % 3] - chebyshev_… in ChebyshevDerivativeAtPoint() 46 CeedScalar chebyshev_x[Q_1D]; in InterpAtPoints1d() local [all …]
|
| H A D | hip-ref-basis-tensor-at-points.h | 16 inline __device__ void ChebyshevPolynomialsAtPoint(const CeedScalar x, CeedScalar *chebyshev_x) { in ChebyshevPolynomialsAtPoint() argument 17 chebyshev_x[0] = 1.0; in ChebyshevPolynomialsAtPoint() 18 chebyshev_x[1] = 2 * x; in ChebyshevPolynomialsAtPoint() 19 …for (CeedInt i = 2; i < Q_1D; i++) chebyshev_x[i] = 2 * x * chebyshev_x[i - 1] - chebyshev_x[i - 2… in ChebyshevPolynomialsAtPoint() 24 CeedScalar chebyshev_x[3]; in ChebyshevDerivativeAtPoint() local 26 chebyshev_x[1] = 1.0; in ChebyshevDerivativeAtPoint() 27 chebyshev_x[2] = 2 * x; in ChebyshevDerivativeAtPoint() 31 chebyshev_x[(i + 1) % 3] = 2 * x * chebyshev_x[(i + 0) % 3] - chebyshev_x[(i + 2) % 3]; in ChebyshevDerivativeAtPoint() 32 …chebyshev_dx[i] = 2 * x * chebyshev_dx[i - 1] + 2 * chebyshev_x[(i + 0) % 3] - chebyshev_… in ChebyshevDerivativeAtPoint() 53 …CeedScalar chebyshev_x[BASIS_Q_1D], buffer_1[POINTS_BUFF_LEN], buffer_2[POINTS_BUFF_LEN… in InterpAtPoints() local [all …]
|
| /libCEED/interface/ |
| H A D | ceed-basis.c | 48 static int CeedChebyshevPolynomialsAtPoint(CeedScalar x, CeedInt n, CeedScalar *chebyshev_x) { in CeedChebyshevPolynomialsAtPoint() argument 49 chebyshev_x[0] = 1.0; in CeedChebyshevPolynomialsAtPoint() 50 chebyshev_x[1] = 2 * x; in CeedChebyshevPolynomialsAtPoint() 51 for (CeedInt i = 2; i < n; i++) chebyshev_x[i] = 2 * x * chebyshev_x[i - 1] - chebyshev_x[i - 2]; in CeedChebyshevPolynomialsAtPoint() 67 CeedScalar chebyshev_x[3]; in CeedChebyshevDerivativeAtPoint() local 69 chebyshev_x[1] = 1.0; in CeedChebyshevDerivativeAtPoint() 70 chebyshev_x[2] = 2 * x; in CeedChebyshevDerivativeAtPoint() 74 chebyshev_x[0] = chebyshev_x[1]; in CeedChebyshevDerivativeAtPoint() 75 chebyshev_x[1] = chebyshev_x[2]; in CeedChebyshevDerivativeAtPoint() 76 chebyshev_x[2] = 2 * x * chebyshev_x[1] - chebyshev_x[0]; in CeedChebyshevDerivativeAtPoint() [all …]
|