17 January 2012 09:24:56 AM SANDIA_SGMGA_INDEX_PRB C++ version Test the SANDIA_SGMGA_INDEX function. SANDIA_SGMGA_INDEX_TESTS Call SANDIA_SGMGA_INDEX_TEST with various arguments. All tests will use a point equality tolerance of 1.49012e-08 SANDIA_SGMGA_INDEX_TEST SANDIA_SGMGA_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. IMPORTANCE: 1 1 LEVEL_WEIGHT: 1 1 For LEVEL_MAX = 0 0 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 3 1 / 1 1 1 / 1 1 / 3 2 1 / 1 2 / 3 3 1 / 1 3 / 3 4 3 / 3 1 / 1 For LEVEL_MAX = 2 0 1 / 3 1 / 3 1 1 / 3 2 / 3 2 1 / 3 3 / 3 3 2 / 5 1 / 1 4 1 / 1 1 / 5 5 1 / 1 2 / 5 6 1 / 1 3 / 5 7 1 / 1 4 / 5 8 1 / 1 5 / 5 9 4 / 5 1 / 1 10 3 / 3 1 / 3 11 3 / 3 2 / 3 12 3 / 3 3 / 3 SANDIA_SGMGA_INDEX_TEST SANDIA_SGMGA_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. IMPORTANCE: 1 2 LEVEL_WEIGHT: 1 0.5 For LEVEL_MAX = 0 0 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 1 1 / 3 1 1 / 1 2 / 3 2 1 / 1 3 / 3 For LEVEL_MAX = 2 0 1 / 3 1 / 1 1 1 / 1 1 / 5 2 1 / 1 2 / 5 3 1 / 1 3 / 5 4 1 / 1 4 / 5 5 1 / 1 5 / 5 6 3 / 3 1 / 1 SANDIA_SGMGA_INDEX_TEST SANDIA_SGMGA_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. IMPORTANCE: 1 1 1 LEVEL_WEIGHT: 1 1 1 For LEVEL_MAX = 0 0 1 / 1 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 3 1 / 1 1 / 1 1 1 / 1 1 / 3 1 / 1 2 1 / 1 1 / 1 1 / 3 3 1 / 1 1 / 1 2 / 3 4 1 / 1 1 / 1 3 / 3 5 1 / 1 3 / 3 1 / 1 6 3 / 3 1 / 1 1 / 1 For LEVEL_MAX = 2 0 1 / 3 1 / 3 1 / 1 1 1 / 3 1 / 1 1 / 3 2 1 / 3 1 / 1 2 / 3 3 1 / 3 1 / 1 3 / 3 4 1 / 3 3 / 3 1 / 1 5 2 / 5 1 / 1 1 / 1 6 1 / 1 1 / 3 1 / 3 7 1 / 1 1 / 3 2 / 3 8 1 / 1 1 / 3 3 / 3 9 1 / 1 2 / 5 1 / 1 10 1 / 1 1 / 1 1 / 5 11 1 / 1 1 / 1 2 / 5 12 1 / 1 1 / 1 3 / 5 13 1 / 1 1 / 1 4 / 5 14 1 / 1 1 / 1 5 / 5 15 1 / 1 4 / 5 1 / 1 16 1 / 1 3 / 3 1 / 3 17 1 / 1 3 / 3 2 / 3 18 1 / 1 3 / 3 3 / 3 19 4 / 5 1 / 1 1 / 1 20 3 / 3 1 / 3 1 / 1 21 3 / 3 1 / 1 1 / 3 22 3 / 3 1 / 1 2 / 3 23 3 / 3 1 / 1 3 / 3 24 3 / 3 3 / 3 1 / 1 SANDIA_SGMGA_INDEX_TEST SANDIA_SGMGA_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. IMPORTANCE: 1 2 3 LEVEL_WEIGHT: 1 0.5 0.333333 For LEVEL_MAX = 0 0 1 / 1 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 1 1 / 1 1 / 3 1 1 / 1 1 / 1 2 / 3 2 1 / 1 1 / 1 3 / 3 For LEVEL_MAX = 2 0 1 / 1 1 / 3 1 / 1 1 1 / 1 1 / 1 1 / 5 2 1 / 1 1 / 1 2 / 5 3 1 / 1 1 / 1 3 / 5 4 1 / 1 1 / 1 4 / 5 5 1 / 1 1 / 1 5 / 5 6 1 / 1 3 / 3 1 / 1 SANDIA_SGMGA_INDEX_TEST SANDIA_SGMGA_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. IMPORTANCE: 1 2 LEVEL_WEIGHT: 1 0.5 For LEVEL_MAX = 0 0 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 1 1 / 3 1 1 / 1 2 / 3 2 1 / 1 3 / 3 For LEVEL_MAX = 2 0 1 / 3 1 / 1 1 1 / 1 1 / 7 2 1 / 1 2 / 7 3 1 / 1 3 / 7 4 1 / 1 4 / 7 5 1 / 1 5 / 7 6 1 / 1 6 / 7 7 1 / 1 7 / 7 8 3 / 3 1 / 1 SANDIA_SGMGA_INDEX_TEST SANDIA_SGMGA_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. IMPORTANCE: 1 2 LEVEL_WEIGHT: 1 0.5 For LEVEL_MAX = 0 0 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 1 1 / 3 1 1 / 1 2 / 3 2 1 / 1 3 / 3 For LEVEL_MAX = 2 0 1 / 5 1 / 1 1 2 / 5 1 / 1 2 1 / 1 1 / 5 3 1 / 1 2 / 5 4 1 / 1 3 / 5 5 1 / 1 4 / 5 6 1 / 1 5 / 5 7 4 / 5 1 / 1 8 5 / 5 1 / 1 SANDIA_SGMGA_INDEX_TEST SANDIA_SGMGA_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. IMPORTANCE: 1 2 LEVEL_WEIGHT: 1 0.5 For LEVEL_MAX = 0 0 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 1 1 / 3 1 1 / 1 2 / 3 2 1 / 1 3 / 3 For LEVEL_MAX = 2 0 1 / 5 1 / 1 1 2 / 5 1 / 1 2 1 / 1 1 / 5 3 3 / 5 1 / 1 4 1 / 1 2 / 5 5 1 / 1 3 / 5 6 1 / 1 4 / 5 7 1 / 1 5 / 5 8 4 / 5 1 / 1 9 5 / 5 1 / 1 SANDIA_SGMGA_INDEX_TEST SANDIA_SGMGA_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. IMPORTANCE: 1 2 LEVEL_WEIGHT: 1 0.5 For LEVEL_MAX = 0 0 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 1 1 / 3 1 1 / 1 2 / 3 2 1 / 1 3 / 3 For LEVEL_MAX = 2 0 1 / 5 1 / 1 1 2 / 5 1 / 1 2 1 / 1 1 / 5 3 1 / 1 2 / 5 4 3 / 5 1 / 1 5 1 / 1 3 / 5 6 1 / 1 4 / 5 7 1 / 1 5 / 5 8 4 / 5 1 / 1 9 5 / 5 1 / 1 SANDIA_SGMGA_INDEX_TEST SANDIA_SGMGA_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. IMPORTANCE: 1 2 LEVEL_WEIGHT: 1 0.5 For LEVEL_MAX = 0 0 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 1 1 / 3 1 1 / 1 2 / 3 2 1 / 1 3 / 3 For LEVEL_MAX = 2 0 1 / 7 1 / 1 1 2 / 7 1 / 1 2 3 / 7 1 / 1 3 1 / 1 1 / 5 4 1 / 1 2 / 5 5 1 / 1 3 / 5 6 4 / 7 1 / 1 7 1 / 1 4 / 5 8 1 / 1 5 / 5 9 5 / 7 1 / 1 10 6 / 7 1 / 1 11 7 / 7 1 / 1 SANDIA_SGMGA_INDEX_TEST SANDIA_SGMGA_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. IMPORTANCE: 1 2 LEVEL_WEIGHT: 1 0.5 For LEVEL_MAX = 0 0 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 1 1 / 3 1 1 / 1 2 / 3 2 1 / 1 3 / 3 For LEVEL_MAX = 2 0 1 / 3 1 / 1 1 1 / 1 1 / 9 2 1 / 1 2 / 9 3 1 / 1 3 / 9 4 1 / 1 4 / 9 5 1 / 1 5 / 9 6 1 / 1 6 / 9 7 1 / 1 7 / 9 8 1 / 1 8 / 9 9 1 / 1 9 / 9 10 3 / 3 1 / 1 SANDIA_SGMGA_INDEX_TEST SANDIA_SGMGA_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. IMPORTANCE: 1 2 3 LEVEL_WEIGHT: 1 0.5 0.333333 For LEVEL_MAX = 0 0 1 / 1 1 / 1 1 / 1 For LEVEL_MAX = 1 0 1 / 1 1 / 1 1 / 3 1 1 / 1 1 / 1 2 / 3 2 1 / 1 1 / 1 3 / 3 For LEVEL_MAX = 2 0 1 / 1 1 / 3 1 / 1 1 1 / 1 1 / 1 1 / 5 2 1 / 1 1 / 1 2 / 5 3 1 / 1 1 / 1 3 / 5 4 1 / 1 1 / 1 4 / 5 5 1 / 1 1 / 1 5 / 5 6 1 / 1 3 / 3 1 / 1 SANDIA_SGMGA_INDEX_TEST SANDIA_SGMGA_INDEX returns index and order vectors that identify each point in a multidimensional sparse grid with mixed factors. Each sparse grid is of spatial dimension DIM_NUM, and is made up of product grids of levels up to LEVEL_MAX. IMPORTANCE: 1 0 1 LEVEL_WEIGHT: 1 0 1 For LEVEL_MAX = 0 0 1 / 1 1 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