16 October 2011 01:59:25 PM
PRODUCT_MIXED_GROWTH_WEIGHT_PRB
C++ version
PRODUCT_MIXED_GROWTH_WEIGHT_TESTS
Call PRODUCT_MIXED_GROWTH_WEIGHT_TEST with various arguments.
PRODUCT_MIXED_GROWTH_WEIGHT_TEST:
Compute the weights of a mixed factor product grid.
As a simple test, sum these weights.
They should sum to exactly 4
Spatial dimension DIM_NUM = 2
Dimension Rule Order Parameters
0 1 3
1 1 5
Weight sum Expected sum Difference
4 4 8.88178e-16
PRODUCT_MIXED_GROWTH_WEIGHT_TEST:
Compute the weights of a mixed factor product grid.
As a simple test, sum these weights.
They should sum to exactly 3.54491
Spatial dimension DIM_NUM = 2
Dimension Rule Order Parameters
0 1 3
1 5 7
Weight sum Expected sum Difference
3.54491 3.54491 2.66454e-15
PRODUCT_MIXED_GROWTH_WEIGHT_TEST:
Compute the weights of a mixed factor product grid.
As a simple test, sum these weights.
They should sum to exactly 2
Spatial dimension DIM_NUM = 2
Dimension Rule Order Parameters
0 3 3
1 7 3
Weight sum Expected sum Difference
2 2 0
PRODUCT_MIXED_GROWTH_WEIGHT_TEST:
Compute the weights of a mixed factor product grid.
As a simple test, sum these weights.
They should sum to exactly 2.65868
Spatial dimension DIM_NUM = 2
Dimension Rule Order Parameters
0 1 5
1 8 5 1.5
Weight sum Expected sum Difference
2.65868 2.65868 4.44089e-16
PRODUCT_MIXED_GROWTH_WEIGHT_TEST:
Compute the weights of a mixed factor product grid.
As a simple test, sum these weights.
They should sum to exactly 3.14159
Spatial dimension DIM_NUM = 2
Dimension Rule Order Parameters
0 2 5
1 9 5 0.5 1.5
Weight sum Expected sum Difference
3.14159 3.14159 3.10862e-15
PRODUCT_MIXED_GROWTH_WEIGHT_TEST:
Compute the weights of a mixed factor product grid.
As a simple test, sum these weights.
They should sum to exactly 1.5708
Spatial dimension DIM_NUM = 2
Dimension Rule Order Parameters
0 6 7 2
1 10 9
Weight sum Expected sum Difference
1.5708 1.5708 2.22045e-16
PRODUCT_MIXED_GROWTH_WEIGHT_TEST:
Compute the weights of a mixed factor product grid.
As a simple test, sum these weights.
They should sum to exactly 7.08982
Spatial dimension DIM_NUM = 3
Dimension Rule Order Parameters
0 1 2
1 4 3
2 5 3
Weight sum Expected sum Difference
7.08982 7.08982 2.66454e-15
PRODUCT_MIXED_GROWTH_WEIGHT_TEST:
Compute the weights of a mixed factor product grid.
As a simple test, sum these weights.
They should sum to exactly 0
Spatial dimension DIM_NUM = 3
Dimension Rule Order Parameters
0 1 2
1 11 3
2 11 3
Weight sum Expected sum Difference
7.08982 0 7.08982
PRODUCT_MIXED_GROWTH_WEIGHT_TEST:
Compute the weights of a mixed factor product grid.
As a simple test, sum these weights.
They should sum to exactly 4
Spatial dimension DIM_NUM = 2
Dimension Rule Order Parameters
0 3 15
1 3 15
Weight sum Expected sum Difference
4 4 3.55271e-15
PRODUCT_MIXED_GROWTH_WEIGHT
Normal end of execution.
16 October 2011 01:59:25 PM