Sparse Grid Files
Newton Cotes Open Half


These are some examples of sparse grids, using the idea of a level to control the number of points, and assigning point locations using the Newton Cotes Open Half rule.

The file has a simple structure. There are a few initial comment lines, which begin with the "#" character. These can be removed if they are inconvenient. There then follow the coordinates of the points, with each point on a single line, and the coordinates of a point separated by spaces.

The points are ordered to respect the natural nesting of the sparse grids. That is, the file of level 3 points begins by listing the points in the level 2 grid.

To make full use of such a sparse grid, it is also necessary to compute the associated interpolation weights.

Example:

Here is the text of a file storing a Newton Cotes Open Half rule of level 2.


      0.500000      0.500000
      0.100000      0.500000
      0.900000      0.500000
      0.500000      0.100000
      0.500000      0.900000
      0.300000      0.500000
      0.700000      0.500000
      0.100000      0.100000
      0.100000      0.900000
      0.900000      0.100000
      0.900000      0.900000
      0.500000      0.300000
      0.500000      0.700000
      

Related Data and Programs:

Sample Files:

Some grids in 2D:

SPARSE_GRID_DISPLAY can be used to display images of two dimensional grids, which can be saved in the PNG format:

You can go up one level to the DATASETS page.


Last revised on 07 April 2007.