29 July 2010 09:27:34 AM SGMGA_PRODUCT_WEIGHT_PRB C version Test the SGMGA_PRODUCT_WEIGHT function. SGMGA_PRODUCT_WEIGHT_TESTS Call SGMGA_PRODUCT_WEIGHT_TEST with various arguments. SGMGA_PRODUCT_WEIGHT_TEST: Compute the weights of a mixed factor product grid. As a simple test, sum these weights. They should sum to exactly 4.000000 Spatial dimension DIM_NUM = 2 Dimension Rule Order Parameters 0 1 3 1 1 5 Weight sum Expected sum Difference 4.000000 4.000000 8.881784e-16 SGMGA_PRODUCT_WEIGHT_TEST: Compute the weights of a mixed factor product grid. As a simple test, sum these weights. They should sum to exactly 3.544908 Spatial dimension DIM_NUM = 2 Dimension Rule Order Parameters 0 1 3 1 5 7 Weight sum Expected sum Difference 3.544908 3.544908 1.103295e-11 SGMGA_PRODUCT_WEIGHT_TEST: Compute the weights of a mixed factor product grid. As a simple test, sum these weights. They should sum to exactly 2.000000 Spatial dimension DIM_NUM = 2 Dimension Rule Order Parameters 0 3 3 1 7 3 Weight sum Expected sum Difference 2.000000 2.000000 1.332268e-15 SGMGA_PRODUCT_WEIGHT_TEST: Compute the weights of a mixed factor product grid. As a simple test, sum these weights. They should sum to exactly 2.658681 Spatial dimension DIM_NUM = 2 Dimension Rule Order Parameters 0 1 5 1 8 5 1.500000 Weight sum Expected sum Difference 2.658681 2.658681 4.440892e-16 SGMGA_PRODUCT_WEIGHT_TEST: Compute the weights of a mixed factor product grid. As a simple test, sum these weights. They should sum to exactly 3.141593 Spatial dimension DIM_NUM = 2 Dimension Rule Order Parameters 0 2 5 1 9 5 0.500000 1.500000 Weight sum Expected sum Difference 3.141593 3.141593 4.440892e-16 SGMGA_PRODUCT_WEIGHT_TEST: Compute the weights of a mixed factor product grid. As a simple test, sum these weights. They should sum to exactly 1.772454 Spatial dimension DIM_NUM = 2 Dimension Rule Order Parameters 0 6 7 2.000000 1 4 7 Weight sum Expected sum Difference 1.772454 1.772454 6.661338e-16 SGMGA_PRODUCT_WEIGHT_TEST: Compute the weights of a mixed factor product grid. As a simple test, sum these weights. They should sum to exactly 7.089815 Spatial dimension DIM_NUM = 3 Dimension Rule Order Parameters 0 1 2 1 4 3 2 5 3 Weight sum Expected sum Difference 7.089815 7.089815 2.206235e-11 SGMGA_PRODUCT_WEIGHT_TEST: Compute the weights of a mixed factor product grid. Spatial dimension DIM_NUM = 3 Dimension Rule Order Parameters 0 1 2 1 10 3 2 10 3 Weight sum 7.089815 SGMGA_PRODUCT_WEIGHT_PRB Normal end of execution. 29 July 2010 09:27:34 AM