Basilisk CFD
Adaptive Cartesian mesh PDE framework
Loading...
Searching...
No Matches
OutputPPMGPU Struct Reference

#include <output.h>

Data Fields

float frameStartTime
 
GLFWwindowwindow
 

Detailed Description

Output PPM to screen on GPUs

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

output_ppm (f, fp = NULL, fps = 30, map = jet, spread = -1, linear = true);

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

Display.paused = true;

before calling 'run()'.

Definition at line 35 of file output.h.

Field Documentation

◆ frameStartTime

float OutputPPMGPU::frameStartTime

Definition at line 36 of file output.h.

◆ window

GLFWwindow* OutputPPMGPU::window

Definition at line 37 of file output.h.


The documentation for this struct was generated from the following file: