23 October 2018 07:56:24 PM BLEND_TEST C version Test the BLEND library. TEST01 Identity test on BLEND_R_0DN. 0 0 1 1 0.5 0.5 TEST02 Identity test on BLEND_RS_0DN. 0 0 0 0 1 0 1 0 0 1 0 1 1 1 1 1 0.5 0.5 0.5 0.5 TEST03 Identity test on BLEND_RS_1DN. 0 0 0 0 1 0 1 0 0 1 0 1 1 1 1 1 0.5 0.5 0.5 0.5 TEST04 Identity test on BLEND_RST_0DN. 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 1 0 0 1 1 1 1 1 1 1 0.5 0.5 0.5 0.5 0.5 0.5 TEST05 Identity test on BLEND_RST_1DN. 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 1 0 0 1 1 1 1 1 1 1 0.5 0.5 0.5 0.5 0.5 0.5 TEST06 Identity test on BLEND_RST_2DN. 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 1 0 0 1 1 1 1 1 1 1 0.5 0.5 0.5 0.5 0.5 0.5 TEST07 Stretch test on BLEND_R_0DN. 0 1 1 3 0.5 2 TEST08 Stretch test on BLEND_RS_0DN. 0 0 1 2 1 0 4 2 0 1 1 6 1 1 4 6 0.5 0.5 2.5 4 TEST09 Stretch test on BLEND_RS_1DN. 0 0 1 2 1 0 4 2 0 1 1 6 1 1 4 6 0.5 0.5 2.5 4 TEST10 Stretch test on BLEND_RST_0DN. 0 0 0 1 2 3 1 0 0 5 2 3 0 1 0 1 7 3 0 0 1 1 2 9 1 1 1 5 7 9 0.5 0.5 0.5 3 4.5 6 TEST11 Stretch test on BLEND_RST_1DN. 0 0 0 1 2 3 1 0 0 5 2 3 0 1 0 1 7 3 0 0 1 1 2 9 1 1 1 5 7 9 0.5 0.5 0.5 3 4.5 6 TEST12 Stretch test on BLEND_RST_2DN. 0 0 0 1 2 3 1 0 0 5 2 3 0 1 0 1 7 3 0 0 1 1 2 9 1 1 1 5 7 9 0.5 0.5 0.5 3 4.5 6 BLEND_101_TEST BLEND_101 blends endpoint values into a list. Initial data list 0: 1 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 10 Interpolated data list 0: 1 1: 2 2: 3 3: 4 4: 5 5: 6 6: 7 7: 8 8: 9 9: 10 BLEND_102_TEST BLEND_102 blends corner values into a table. Initial data array Col: 0 1 2 3 4 Row 0: 2 0 0 0 6 1: 0 0 0 0 0 2: 0 0 0 0 0 3: 0 0 0 0 0 4: 6 0 0 0 10 Interpolated data array Col: 0 1 2 3 4 Row 0: 2 3 4 5 6 1: 3 4 5 6 7 2: 4 5 6 7 8 3: 5 6 7 8 9 4: 6 7 8 9 10 BLEND_103_TEST BLEND_103 blends corner values into a table. Initial data array K = 1 1 2 3 4 5 1: 3 0 0 0 7 2: 0 0 0 0 0 3: 5 0 0 0 9 K = 2 1 2 3 4 5 1: 0 0 0 0 0 2: 0 0 0 0 0 3: 0 0 0 0 0 K = 3 1 2 3 4 5 1: 0 0 0 0 0 2: 0 0 0 0 0 3: 0 0 0 0 0 K = 4 1 2 3 4 5 1: 6 0 0 0 10 2: 0 0 0 0 0 3: 8 0 0 0 12 Interpolated data array K = 1 1 2 3 4 5 1: 3 4 5 6 7 2: 4 5 6 7 8 3: 5 6 7 8 9 K = 2 1 2 3 4 5 1: 4 5 6 7 8 2: 5 6 7 8 9 3: 6 7 8 9 10 K = 3 1 2 3 4 5 1: 5 6 7 8 9 2: 6 7 8 9 10 3: 7 8 9 10 11 K = 4 1 2 3 4 5 1: 6 7 8 9 10 2: 7 8 9 10 11 3: 8 9 10 11 12 BLEND_I_0D1 BLEND_I_0D1 interpolates data in a vector. X[0] = 100 X(4)= 120 Interpolated values: 0 100 1 105 2 110 3 115 4 120 BLEND_IJ_0D1_TEST BLEND_IJ_0D1 interpolates data in a table, from corner data. The table is 5 rows by 4 columns. Values interpolated by BLEND_IJ_0D1: 0 0 0 0 0 1.66667 3.33333 5 0 3.33333 6.66667 10 0 5 10 15 0 6.66667 13.3333 20 BLEND_IJ_1D1_TEST BLEND_IJ_1D1 interpolates data in a table, from edge data. The table is 5 rows by 4 columns. Values interpolated by BLEND_IJ_1D1: 0 0 0 0 0 -1.06481 -1.01852 1.25 0 -1.2963 -0.37037 5 0 -0.694444 1.94444 11.25 0 0.740741 5.92593 20 BLEND_IJK_0D1_TEST BLEND_IJK_0D1 interpolates data in a 3D table, from corner data. The table is 4 rows by 3 columns by 3 layers. Data given to BLEND_IJK_0D1: Layer K = 0 0 0 18 0 0 0 0 0 0 18 0 36 Layer K = 1 0 0 0 0 0 0 0 0 0 0 0 0 Layer K = 2 18 0 36 0 0 0 0 0 0 36 0 54 Values interpolated by BLEND_IJK_0D1: Layer K = 0 0 9 18 6 15 24 12 21 30 18 27 36 Layer K = 1 9 18 27 15 24 33 21 30 39 27 36 45 Layer K = 2 18 27 36 24 33 42 30 39 48 36 45 54 Exact data: Layer K = 0 0 9 18 2 11 20 8 17 26 18 27 36 Layer K = 1 9 18 27 11 20 29 17 26 35 27 36 45 Layer K = 2 18 27 36 20 29 38 26 35 44 36 45 54 BLEND_IJK_1D1_TEST BLEND_IJK_1D1 interpolates data in a 3D table, from edge data. The table is 4 rows by 3 columns by 3 layers. Data given to BLEND_IJK_1D1: Layer K = 0 0 9 18 2 0 20 8 0 26 18 27 36 Layer K = 1 9 0 27 0 0 0 0 0 0 27 0 45 Layer K = 2 18 27 36 20 0 38 26 0 44 36 45 54 Values interpolated by BLEND_IJK_1D1: Layer K = 0 0 9 18 2 11 20 8 17 26 18 27 36 Layer K = 1 9 18 27 11 20 29 17 26 35 27 36 45 Layer K = 2 18 27 36 20 29 38 26 35 44 36 45 54 Exact data: Layer K = 0 0 9 18 2 11 20 8 17 26 18 27 36 Layer K = 1 9 18 27 11 20 29 17 26 35 27 36 45 Layer K = 2 18 27 36 20 29 38 26 35 44 36 45 54 BLEND_IJK_2D1_TEST BLEND_IJK_2D1 interpolates data in a 3D table, from face data. The table is 4 rows by 3 columns by 3 layers. Data given to BLEND_IJK_2D1: Layer K = 0 0 9 18 2 11 20 8 17 26 18 27 36 Layer K = 1 9 18 27 11 0 29 17 0 35 27 36 45 Layer K = 2 18 27 36 20 29 38 26 35 44 36 45 54 Values interpolated by BLEND_IJK_2D1: Layer K = 0 0 9 18 2 11 20 8 17 26 18 27 36 Layer K = 1 9 18 27 11 20 29 17 26 35 27 36 45 Layer K = 2 18 27 36 20 29 38 26 35 44 36 45 54 Exact data: Layer K = 0 0 9 18 2 11 20 8 17 26 18 27 36 Layer K = 1 9 18 27 11 20 29 17 26 35 27 36 45 Layer K = 2 18 27 36 20 29 38 26 35 44 36 45 54 BLEND_TEST: Normal end of execution. 23 October 2018 07:56:24 PM