Sparse Grid Files
Fejer Type 2


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 Fejer Type 2 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 Fejer type 2 rule of level 1.


      0.000000      0.000000      0.000000      0.000000      0.000000      0.000000
     -0.707107      0.000000      0.000000      0.000000      0.000000      0.000000
      0.707107      0.000000      0.000000      0.000000      0.000000      0.000000
      0.000000     -0.707107      0.000000      0.000000      0.000000      0.000000
      0.000000      0.707107      0.000000      0.000000      0.000000      0.000000
      0.000000      0.000000     -0.707107      0.000000      0.000000      0.000000
      0.000000      0.000000      0.707107      0.000000      0.000000      0.000000
      0.000000      0.000000      0.000000     -0.707107      0.000000      0.000000
      0.000000      0.000000      0.000000      0.707107      0.000000      0.000000
      0.000000      0.000000      0.000000      0.000000     -0.707107      0.000000
      0.000000      0.000000      0.000000      0.000000      0.707107      0.000000
      0.000000      0.000000      0.000000      0.000000      0.000000     -0.707107
      0.000000      0.000000      0.000000      0.000000      0.000000      0.707107
      

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:

Some grids in 6D:

You can go up one level to the DATASETS page.


Last revised on 07 April 2007.