diff options
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/1d.coeffs/1d.cube.order3.smooth0/coeff-dx.compute.c')
-rw-r--r-- | src/GeneralizedPolynomial-Uniform/1d.coeffs/1d.cube.order3.smooth0/coeff-dx.compute.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/1d.coeffs/1d.cube.order3.smooth0/coeff-dx.compute.c b/src/GeneralizedPolynomial-Uniform/1d.coeffs/1d.cube.order3.smooth0/coeff-dx.compute.c new file mode 100644 index 0000000..f0f513b --- /dev/null +++ b/src/GeneralizedPolynomial-Uniform/1d.coeffs/1d.cube.order3.smooth0/coeff-dx.compute.c @@ -0,0 +1,8 @@ +fp t13, + t12; + t13 = x*x; + t12 = RATIONAL(-1.0,2.0); + coeff_dx_m1 = x+t12*t13+RATIONAL(-1.0,3.0); + coeff_dx_0 = t12+RATIONAL(-2.0,1.0)*x+RATIONAL(3.0,2.0)*t13; + coeff_dx_p1 = x+RATIONAL(1.0,1.0)+RATIONAL(-3.0,2.0)*t13; + coeff_dx_p2 = RATIONAL(1.0,2.0)*t13+RATIONAL(-1.0,6.0); |