GfsOutputPPM

From Gerris

Jump to: navigation, search

OutputPPM writes a colour image of the given scalar field in PPM (Portable PixMap) format.

The syntax in parameter files is as follows:

[ GfsOutputScalar ]

By default the pixels are the square cells at the highest level of refinement. The level of the cells displayed can be controlled using the maxlevel option of GfsOutputScalar. Setting maxlevel can also be useful to control the size (in pixels) of the image produced: when maxlevel is set the pixel size of the image will always be a multiple (depending on the number of boxes in the computation domain) of 2^maxlevel. This holds even when the number of levels in the simulation changes due to adaptive refinement (see also this question in the FAQ).

Note that this object is only available for 2D simulations.

Examples

Personal tools
communication