08-Jan-2022 10:03:46 square_grid_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 Test square_grid(). SQUARE_GRID_TEST01 Create a grid using SQUARE_GRID. Use the same parameters in every dimension. Number of grid points N = 9 I NS C A B 1 3 1 -1.0000 1.0000 2 3 1 -1.0000 1.0000 Grid points: Row: 1 2 Col 1: -1 -1 2: 0 -1 3: 1 -1 4: -1 0 5: 0 0 6: 1 0 7: -1 1 8: 0 1 9: 1 1 SQUARE_GRID_TEST02 Create a grid using SQUARE_GRID. Use a different number of points in each dimension. Number of grid points N = 8 I NS C A B 1 4 2 0.0000 1.0000 2 2 2 0.0000 1.0000 Grid points: Row: 1 2 Col 1: 0.2 0.333333 2: 0.4 0.333333 3: 0.6 0.333333 4: 0.8 0.333333 5: 0.2 0.666667 6: 0.4 0.666667 7: 0.6 0.666667 8: 0.8 0.666667 SQUARE_GRID_TEST03 Create a grid using SQUARE_GRID. Use a different physical size in every dimension. Number of grid points N = 9 I NS C A B 1 3 3 0.0000 10.0000 2 3 4 -2.0000 2.0000 Grid points: Row: 1 2 Col 1: 0 -0.666667 2: 3.33333 -0.666667 3: 6.66667 -0.666667 4: 0 0.666667 5: 3.33333 0.666667 6: 6.66667 0.666667 7: 0 2 8: 3.33333 2 9: 6.66667 2 square_grid_test(): Normal end of execution. 08-Jan-2022 10:03:46