aboutsummaryrefslogtreecommitdiff
path: root/src/GeneralizedPolynomial-Uniform/Lagrange-tensor-product/1d.coeffs/1d.cube.order3.smooth0/coeffs-dx.compute.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/Lagrange-tensor-product/1d.coeffs/1d.cube.order3.smooth0/coeffs-dx.compute.c')
-rw-r--r--src/GeneralizedPolynomial-Uniform/Lagrange-tensor-product/1d.coeffs/1d.cube.order3.smooth0/coeffs-dx.compute.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/Lagrange-tensor-product/1d.coeffs/1d.cube.order3.smooth0/coeffs-dx.compute.c b/src/GeneralizedPolynomial-Uniform/Lagrange-tensor-product/1d.coeffs/1d.cube.order3.smooth0/coeffs-dx.compute.c
new file mode 100644
index 0000000..1cf3fc6
--- /dev/null
+++ b/src/GeneralizedPolynomial-Uniform/Lagrange-tensor-product/1d.coeffs/1d.cube.order3.smooth0/coeffs-dx.compute.c
@@ -0,0 +1,8 @@
+fp t13;
+fp t12;
+ t13 = x*x;
+ t12 = RATIONAL(-1.0,2.0);
+ coeffs_dx->coeff_m1 = x+t12*t13+RATIONAL(-1.0,3.0);
+ coeffs_dx->coeff_0 = t12+RATIONAL(-2.0,1.0)*x+RATIONAL(3.0,2.0)*t13;
+ coeffs_dx->coeff_p1 = x+RATIONAL(1.0,1.0)+RATIONAL(-3.0,2.0)*t13;
+ coeffs_dx->coeff_p2 = RATIONAL(1.0,2.0)*t13+RATIONAL(-1.0,6.0);