import Assertions
import Cube
+import Examples
import Grid
import Tetrahedron
return (make_grid h' fvs)
--- | Values of the function f(x,y,z) = 1 + x + xy + xyz taken at nine
--- points (hi, hj, jk) with h = 1. From example one in the paper.
--- Used in the next bunch of tests.
-trilinear :: [[[Double]]]
-trilinear = [ [ [ 1, 2, 3 ],
- [ 1, 3, 5 ],
- [ 1, 4, 7 ] ],
- [ [ 1, 2, 3 ],
- [ 1, 4, 7 ],
- [ 1, 6, 11 ] ],
- [ [ 1, 2, 3 ],
- [ 1, 5, 9 ],
- [ 1, 8, 15 ]]]
-
-- | Check the value of c0030 for tetrahedron0 belonging to the
-- cube centered on (1,1,1) with a grid constructed from the
-- trilinear values. See example one in the paper.