pymor.discretizers.builtin.gui.gl

Visualization of grid data using OpenGL.

This module provides a widget for displaying patch plots of scalar data assigned to 2D-grids using OpenGL. This widget is not intended to be used directly. Instead, use visualize_patch or PatchVisualizer.

Module Contents

Functions

compile_shader

Compile a vertex shader from source.

pymor.discretizers.builtin.gui.gl.compile_shader(source, vertex=True)[source]

Compile a vertex shader from source.