16 October 2011 12:10:11 PM SGMGA_INDEX_PRB C++ version Test the SGMGA_INDEX function. SGMGA_INDEX_TESTS Call SGMGA_INDEX_TEST with various arguments. All tests will use a point equality tolerance of 1.49012e-08 SGMGA_INDEX_TEST 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 Dimension Rule Growth rate Parameters 0 1 6 1 1 6 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 SGMGA_INDEX_TEST 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 Dimension Rule Growth rate Parameters 0 1 6 1 1 6 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 SGMGA_INDEX_TEST 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 Dimension Rule Growth rate Parameters 0 1 6 1 1 6 2 1 6 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 SGMGA_INDEX_TEST 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 Dimension Rule Growth rate Parameters 0 1 6 1 1 6 2 1 6 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 SGMGA_INDEX_TEST 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 Dimension Rule Growth rate Parameters 0 1 6 1 3 6 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 SGMGA_INDEX_TEST 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 Dimension Rule Growth rate Parameters 0 1 6 1 4 3 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 SGMGA_INDEX_TEST 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 Dimension Rule Growth rate Parameters 0 1 6 1 7 3 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 2 / 3 1 / 1 3 1 / 1 2 / 5 4 1 / 1 3 / 5 5 1 / 1 4 / 5 6 1 / 1 5 / 5 7 3 / 3 1 / 1 SGMGA_INDEX_TEST 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 Dimension Rule Growth rate Parameters 0 1 6 1 8 3 1.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 2 / 3 1 / 1 4 1 / 1 3 / 5 5 1 / 1 4 / 5 6 1 / 1 5 / 5 7 3 / 3 1 / 1 SGMGA_INDEX_TEST 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 Dimension Rule Growth rate Parameters 0 2 6 1 9 3 0.5 1.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 2 / 3 1 / 1 5 1 / 1 4 / 5 6 1 / 1 5 / 5 7 3 / 3 1 / 1 SGMGA_INDEX_TEST 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 Dimension Rule Growth rate Parameters 0 6 3 2 1 10 4 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 / 3 2 1 / 1 2 / 3 3 1 / 1 3 / 3 4 3 / 3 1 / 1 SGMGA_INDEX_TEST 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 Dimension Rule Growth rate Parameters 0 1 6 1 4 3 2 5 3 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 SGMGA_INDEX_TEST 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 Dimension Rule Growth rate Parameters 0 1 6 1 11 3 2 11 3 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 SGMGA_INDEX_TEST 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 Dimension Rule Growth rate Parameters 0 1 6 1 1 6 2 1 6 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 / 1 1 / 3 2 1 / 1 1 / 1 2 / 3 3 1 / 1 1 / 1 3 / 3 4 3 / 3 1 / 1 1 / 1 For LEVEL_MAX = 2 0 1 / 3 1 / 1 1 / 3 1 1 / 3 1 / 1 2 / 3 2 1 / 3 1 / 1 3 / 3 3 2 / 5 1 / 1 1 / 1 4 1 / 1 1 / 1 1 / 5 5 1 / 1 1 / 1 2 / 5 6 1 / 1 1 / 1 3 / 5 7 1 / 1 1 / 1 4 / 5 8 1 / 1 1 / 1 5 / 5 9 4 / 5 1 / 1 1 / 1 10 3 / 3 1 / 1 1 / 3 11 3 / 3 1 / 1 2 / 3 12 3 / 3 1 / 1 3 / 3 For LEVEL_MAX = 3 0 1 / 3 1 / 1 1 / 5 1 1 / 3 1 / 1 2 / 5 2 1 / 3 1 / 1 3 / 5 3 1 / 3 1 / 1 4 / 5 4 1 / 3 1 / 1 5 / 5 5 2 / 9 1 / 1 1 / 1 6 2 / 5 1 / 1 1 / 3 7 2 / 5 1 / 1 2 / 3 8 2 / 5 1 / 1 3 / 3 9 4 / 9 1 / 1 1 / 1 10 1 / 1 1 / 1 1 / 9 11 1 / 1 1 / 1 2 / 9 12 1 / 1 1 / 1 3 / 9 13 1 / 1 1 / 1 4 / 9 14 1 / 1 1 / 1 5 / 9 15 1 / 1 1 / 1 6 / 9 16 1 / 1 1 / 1 7 / 9 17 1 / 1 1 / 1 8 / 9 18 1 / 1 1 / 1 9 / 9 19 6 / 9 1 / 1 1 / 1 20 4 / 5 1 / 1 1 / 3 21 4 / 5 1 / 1 2 / 3 22 4 / 5 1 / 1 3 / 3 23 8 / 9 1 / 1 1 / 1 24 3 / 3 1 / 1 1 / 5 25 3 / 3 1 / 1 2 / 5 26 3 / 3 1 / 1 3 / 5 27 3 / 3 1 / 1 4 / 5 28 3 / 3 1 / 1 5 / 5 SGMGA_INDEX_PRB Normal end of execution. 16 October 2011 12:10:11 PM