|
Basilisk CFD
Adaptive Cartesian mesh PDE framework
|
#include <output.h>
Data Fields | |
| float | frameStartTime |
| GLFWwindow * | window |
When running on GPUs the output_ppm() function can be used to display a field directly on the video display. The syntax is the same as that of output_ppm() with the exception of the fps parameter which specifies the maximum number of frames-per-second to display.
For example
will display field f with a maximum of 30 frames per second.
When the mouse/keyboard focus is on the window, the following keys can be used to control the simulation:
SPACE : start/pause S : do a single timestep Q : exits
The simulation can also be started in 'pause' mode using
before calling 'run()'.
| GLFWwindow* OutputPPMGPU::window |