GRID_TO_BMP is a C++ program which creates a Microsoft BMP color image file that represents scalar data read from a text file.
The text file should contain the values of a quantity on an M by N grid, stored as an M by N array, which we will call "U".
The first two records of the text file should contain the values of M and N, respectively.
There should follow M records, each of length N, containing, in order, the rows of U.
This program can be used to display the output of the HEATED_PLATE program.
grid_to_bmp input_file output_file
SOL_100x500 is a solution of the steady state heat equation on a 100x500 grid, computed by the HEATED_PLATE program.
You can go up one level to the OpenMP page.