diff options
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/Lagrange/1d.coeffs/1d.cube.order4.smooth0/coeff-dxx.compute.c')
-rw-r--r-- | src/GeneralizedPolynomial-Uniform/Lagrange/1d.coeffs/1d.cube.order4.smooth0/coeff-dxx.compute.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/Lagrange/1d.coeffs/1d.cube.order4.smooth0/coeff-dxx.compute.c b/src/GeneralizedPolynomial-Uniform/Lagrange/1d.coeffs/1d.cube.order4.smooth0/coeff-dxx.compute.c new file mode 100644 index 0000000..56d8567 --- /dev/null +++ b/src/GeneralizedPolynomial-Uniform/Lagrange/1d.coeffs/1d.cube.order4.smooth0/coeff-dxx.compute.c @@ -0,0 +1,13 @@ +fp t44, + t46, + t48, + t47; + t44 = RATIONAL(1.0,2.0); + t46 = x*x; + t48 = t44*t46+RATIONAL(-1.0,12.0); + t47 = RATIONAL(-2.0,1.0)*t46+RATIONAL(4.0,3.0); + coeff_dxx_m2 = RATIONAL(-1.0,2.0)*x+t48; + coeff_dxx_m1 = x+t47; + coeff_dxx_0 = RATIONAL(-5.0,2.0)+RATIONAL(3.0,1.0)*t46; + coeff_dxx_p1 = -x+t47; + coeff_dxx_p2 = t44*x+t48; |