11 February 2020 09:14:17 AM 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_I_0D1_TEST 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. 11 February 2020 09:14:17 AM