Glvis

Latest version: v1.1.1

Safety actively analyzes 696794 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

3.3

=====================================

- Added the ability to change the axis labels displayed with the coordinate
cross in the lower left corner. They can be set with the new 'axis_labels'
socket command, for example: sol_sock << "axis_labels 'u' 'v' 'w'\n";

- With the corresponding version of MFEM, GLVis now supports gz-compressed
files and socket streams.

3.2

=====================================

- Added support for secure socket connections based on the GnuTLS library
through MFEM. This option may be useful in multi-user environment to prevent
users from sending/receiving visualization data to/from other users. See
INSTALL for setup instructions.

- Added an optional caption at the top of the GLVis window. This can be set in
several different ways: through a command-line parameter (-c|--plot-caption),
a socket command (plot_caption), a GLVis script command (plot_caption) or the
'C' keystroke.

The caption is displayed as one of the states of the colorbar (key 'c') which
now has 3 modes: no colorbar & no caption; colorbar & caption; colorbar & no
caption. With empty caption, 'c' works the same as before.

For vector fields, the current vector-to-scalar function is added to the
caption in parenthesis. Similarly, for 2D scalar fields, the "surface
elements mode" (attached to the 'e' key) is added to the caption.

- Improved the handling of the "keys" command in GLVis scripts and socket
connections.

- Added "scale" and "translate" script commands.

3.1

====================================

- Moved GLVis from Google Code to GitHub. New website: http://glvis.org.

- Formatted the code with Artistic Style, see the "make style" target.

- Added 'help', 'distclean', 'install' and 'status'/'info' targets to the GLVis
makefile. The default install directory is ./bin. That can be overwritten with
"make install PREFIX=<dir>".

- With the corresponding version of MFEM, GLVis now supports the visualization
of non-conforming meshes and grid functions.

- Added support for visualizing vector fields on surface meshes, and for element
shrinking (F3/F4) of surface meshes.

- The 'P' key now prints in PDF instead of EPS format. The output still has
some deficiencies, so 'P' is recommended only if vector format is necessary.
For quick screenshots (e.g. for a talk), the 'S' key is preferable.

- Added a command-line option (-d | --pad-digits), to set the number of digits
used for processor ranks in file names.

- Added a command-line option (-grt | -geom_ref_type) to refine the geometry
using the Gauss-Lobatto instead of uniform points.

- In 2D, added keys that in addition to 'b', can cycle through the boundary
attributes: shift+f9 (forward) and shift-f10 (backward); added visualization
of element attributes as another state of the 'e' key.

- New socket command, window_geometry, can be used to arrange the visualization
window on the screen

- Various other small fixes and styling updates.

3.0

=====================================

- Updated the makefile to use the new build system in MFEM, so GLVis can now be
built from any (serial or parallel) MFEM build.

- Support for saving screenshots directly in png format using libpng. Enabled
by default with "USE_LIBPNG = YES" in the makefile.

- Support for antialiased fonts using the freetype library. Enabled by default
with "USE_FREETYPE = YES" in the makefile (the options "FT_OPTS_YES" and
"FT_LIBS_YES" may need to be adjusted). The font is determined at runtime from
a list of fontconfig patterns: fc_font_patterns in lib/aux_vis.cpp. It can
also be specified on the command line, e.g. "-fn Ubuntu-15".

- Improved level surfaces to support hexahedral elements and to better represent
high-order grid-functions and curved meshes using element subdivision.

- Added support for 1D meshes + solutions, visualized in 2D via extrusion in
y-direction. The z-axis is scaled relative to the x-axis.

- Added support for surface meshes (2D meshes in 3 space dimensions).

- Added new (input stream) command, "autopause <int value>" that will stop (when
turned on) the interpretation of the input stream after every mesh + solution
update. Autopause can also be toggled using the "Control+Space" key.

- When visualizing a GridFunction from a socket, script, or the command line
GLVis will now enable the subdivision mode ("f" key) and select subdivision
factor (using the new AutoRefine method) depending on the number of elements
(2D) or number of boundary elements (3D) in the mesh.

- Additional stream command support. Most of the script commands are supported
including taking screenshots.

- New camera manipulation using Ctrl, the middle mouse button, and optionally
Shift and Alt.

- Significantly improved logarithmic scaling mode (key "L").

- Improved visualization of smoothed (antialiased) lines without multisampling.

- Switched to MFEM's OptionParser class for command line arguments parsing.

- Various small fixes and styling updates.

2.0

=====================================

- Extended GLVis to allow visualization of parallel meshes and grid functions.
For data saved in separate files, the format is:

glvis -np <proc> -m <mesh_prefix> [-g <grid_function_prefix>]

The file names are obtained from the prefix by appending '.' followed by a
6-digit processor/subdomain number padded with 0's. The related (obsolete)
option -par3d was removed.

For results send by separate socket connections from each processor, the
format just adds the prefix: "parallel <proc> <myid>" (see the parallel
MFEM examples).

The corresponding GLVis script command is "psolution <num_proc> <mesh_prefix>
<attr_flag> <solution_prefix>", where <attr_flag> controls if the boundary
attributes should be replaced with the processor number or if they should be
kept unchanged (this option is also available from the command line as '-a').

In all cases, GLVis will stitch the parallel results to show the global mesh
and solution, but the subdomain data can still be examined through the F3/F4,
F8, F9/F10 and F11/F12 keystrokes.

- Added the ability to directly visualize 3D VectorFiniteElement-based grid
functions (e.g. from a Nedelec or a Raviart-Thomas space), by an internal
projection onto the discontinuous piece-wise polynomial space of the
appropriate order.

- Added new bounding box visualization mode (fourth state for the 'a' key) using
red, green, blue colored main axes and dashed box.

- Added support for dynamic mesh and solution (grid function) update over
sockets based on MFEM's new socket communication classes socketserver and
socketstream. Both serial and parallel codes can use this capability.

- Switched to GLX 1.3 compatible mode selection and window creation. The old GLX
calls are still available when GLVis is compiled with -DGLVIS_GLX10. The new
functions allow for multisampling on Macs with ATI cards, though the X11
server on OS X Snow Leopard gives a warning that "GLX 1.3 is not supported",
but works fine in practice.

- Added functionality allowing GLVis to handle modifier+key input. As a first
application, control + arrow keys can be used now to translate the view.

- Improved the handling of the boundary in 2D ('b' key) for curved meshes.

- The palettes can now be flipped by specifying a negative value for the number
of times the palette is repeated (F6 key).

- Provided workaround for a bug in the NVIDIA driver on some 64 bit systems,
where glX calls after a fork() close file descriptor 0.

- Various small fixes and styling updates.

1.2

====================================

- If build with mfem version 1.2 (or later), glvis now supports unstructured
meshes in VTK format, including quadratic curvilinear meshes.

- When viewing 3D vector field, 'F' will cycle the displayed scalar function
between magnitude, x-component, y-component and z-component.

- Added a new command line option: '-gc' allowing visualization of a single
component of a GridFunction, e.g: glvis -m mesh -g sol -gc 0. This is useful
for grid functions describing tensors.

- Ensured that the shrinking of elements (F3/F4) and material subdomains
(F11/F12) work in 2D/3D, with scalar/vector plots and on curved meshes. The
latter are useful, in particular, to visualize the subdomains corresponding to
different processors in a mfem parallel run.

- The palette update (key 'p') when using texture is now instantaneous.

- Added a new script command: toggle_attributes.

- Added a new palette: calewhite, from VisIt.

- Various small fixes and styling updates.

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.