Writes Portable Gray Map (PGM) outputs. More...
Go to the source code of this file.
Functions | |
void | output_pgm (MeshS *pM, OutputS *pOut) |
Output 2D PGM image. |
Writes Portable Gray Map (PGM) outputs.
PURPOSE: Writes Portable Gray Map (PGM) outputs. These are extremely simple grayscale 2D images, see e.g. sourceforge for documentation. With SMR, dumps are made for all levels and domains, unless nlevel and ndomain are specified in <output> block.
CONTAINS PUBLIC FUNCTIONS:
Definition in file output_pgm.c.
Output 2D PGM image.
Definition at line 27 of file output_pgm.c.
References ath_error(), ath_fname(), data, OutputS::dmax, OutputS::dmin, MeshS::Domain, MeshS::DomainsPerLevel, free_2d_array(), OutputS::gmax, OutputS::gmin, DomainS::Grid, OutputS::id, minmax2(), OutputS::ndim, OutputS::ndomain, OutputS::nlevel, MeshS::NLevels, OutputS::num, nx1, nx2, OutData2(), MeshS::outfilename, OutputS::sdmax, and OutputS::sdmin.