Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions src/download.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
## Latest Release

[New features](https://github.com/glvis/glvis/blob/v4.3.2/CHANGELOG)
┊ [User documentation](https://github.com/glvis/glvis/blob/v4.3.2/README.md)
[New features](https://github.com/glvis/glvis/blob/v4.4/CHANGELOG)
┊ [User documentation](https://github.com/glvis/glvis/blob/v4.4/README.md)
┊ [Sources](https://github.com/glvis/glvis)

[<button type="button" class="btn btn-success">
**<i class="fa fa-download"></i>&nbsp; glvis-4.3.2.tgz**
</button>](https://bit.ly/glvis-4-3-2)
**<i class="fa fa-download"></i>&nbsp; glvis-4.4.tgz**
</button>](https://bit.ly/glvis-4-4)
&nbsp;&nbsp;&nbsp;
[<button type="button" class="btn btn-success">
**<i class="fa fa-apple"></i>&nbsp; Mac**
Expand All @@ -30,6 +30,7 @@ or [comments](https://github.com/glvis/glvis/issues/new?labels=comment).

**Filename** | **Version** | **Release Date** | **Size** | **[SLOC](https://github.com/AlDanial/cloc)** | **Notes** |
------------ | ----------- | ---------------- | -------- | --------------------------------------- | --------- |
[glvis-4.4.tgz](https://bit.ly/glvis-4-4) | v4.4 | May 2025 | 2.6M | 41K | |
[glvis-4.3.2.tgz](https://bit.ly/glvis-4-3-2) | v4.3.2 | Sep 2024 | 2.4M | 40K | |
[glvis-4.3.tgz](https://bit.ly/glvis-4-3) | v4.3 | Aug 2024 | 2.4M | 39K | _quadrature data visualization_ |
[glvis-4.2.tgz](https://bit.ly/glvis-4-2) | v4.2 | May 2022 | 2.4M | 37K | _glTF export_ |
Expand Down
1 change: 1 addition & 0 deletions src/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ GLVis uses OpenGL with interactive refinement to accurately represent curved hig
- input in unstructured [VTK mesh format](curvilinear-vtk-meshes.md),
- support for Gmsh, CUBIT, NETGEN and TrueGrid meshes,
- arbitrary high-order, scalar and vector finite element and NURBS solutions,
- loading mesh and solution from VisIt, Sidre, FMS and Conduit data collections,
- quadrature data represented multiple ways,
- accurate cutting planes and level lines/surfaces,
- visualization of parallel meshes and solutions.
Expand Down
10 changes: 5 additions & 5 deletions src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,20 @@ GLVis is based on the [MFEM](https://mfem.org) library and is used in the [BLAST

Date | Message
------------ | -----------------------------------------------------------------
Sep 27, 2024 | Version 4.3.2 [released](https://github.com/glvis/glvis/blob/v4.3.2/CHANGELOG).
May 1, 2025 | Version 4.4 [released](https://github.com/glvis/glvis/blob/v4.4/CHANGELOG).
Jan 20, 2022 | New [FEM@LLNL seminar](https://mfem.org/seminar/) series.
Feb 19, 2021 | Web version at [glvis.org/live](https://glvis.org/live).
Feb 17, 2021 | Jupyter support: [`pip install glvis`](https://github.com/GLVis/pyglvis).

## Latest Release

[New features](https://github.com/glvis/glvis/blob/v4.3.2/CHANGELOG)
┊ [User documentation](https://github.com/glvis/glvis/blob/v4.3.2/README.md)
[New features](https://github.com/glvis/glvis/blob/v4.4/CHANGELOG)
┊ [User documentation](https://github.com/glvis/glvis/blob/v4.4/README.md)
┊ [Sources](https://github.com/glvis/glvis)

[<button type="button" class="btn btn-success">
**Download glvis-4.3.2.tgz**
</button>](https://bit.ly/glvis-4-3-2)
**Download glvis-4.4.tgz**
</button>](https://bit.ly/glvis-4-4)
&nbsp;&nbsp;&nbsp;
[<button type="button" class="btn btn-primary">
**Use web version**
Expand Down
1 change: 1 addition & 0 deletions src/news.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

&nbsp; | |
------------ | -----------------------------------------------------------------
May 1, 2025 | Version 4.4 [released](https://github.com/glvis/glvis/blob/v4.4/CHANGELOG).
Sep 27, 2024 | Version 4.3.2 [released](https://github.com/glvis/glvis/blob/v4.3.2/CHANGELOG).
Aug 7, 2024 | Version 4.3 [released](https://github.com/glvis/glvis/blob/v4.3/CHANGELOG).
May 23, 2022 | Version 4.2 [released](https://github.com/glvis/glvis/blob/v4.2/CHANGELOG).
Expand Down
29 changes: 28 additions & 1 deletion src/options-and-use.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,18 @@ All Options:
Scalar solution (vertex values) file to visualize.
-v <string>, --vector-solution <string>, current value: (none)
Vector solution (vertex values) file to visualize.
-visit <string>, --visit-datafiles <string>, current value: (none)
VisIt collection to load
-sidre <string>, --sidre-datafiles <string>, current value: (none)
Sidre collection to load
-fms <string>, --fms-datafiles <string>, current value: (none)
FMS collection to load
-conduit <string>, --conduit-datafiles <string>, current value: (none)
Conduit collection to load
-dc-prot <string>, --data-collection-protocol <string>, current value: (default)
Protocol of the data collection to load
-dc-cycle <int>, --data-collection-cycle <int>, current value: 0
Cycle of the data collection to load
-np <int>, --num-proc <int>, current value: 0
Load mesh/solution from multiple processors.
-d <int>, --pad-digits <int>, current value: 6
Expand All @@ -73,6 +85,8 @@ All Options:
Run a GLVis script file.
-k <string>, --keys <string>, current value: (none)
Execute key shortcut commands in the GLVis window.
-pal <string>, --palettes <string>, current value: (none)
Palette file.
-fo, --fix-orientations, -no-fo, --dont-fix-orientations, current option: --dont-fix-orientations
Attempt to fix the orientations of inverted elements.
-a, --real-attributes, -ap, --processor-attributes, current option: --processor-attributes
Expand Down Expand Up @@ -239,6 +253,11 @@ to a piece-wise constant function with different values in neighboring elements.
This function can be generated and saved with the `-sc` option, which writes it
in a file called `GLVis_coloring.gf`.

Alternatively, the mesh can be loaded from a data collection (VisIt, Sidre, FMS,
or Conduit). Path to the collection is provided through the respective command
line parameter (`-visit`, `-sidre`, `-fms` or `-conduit`). Optionally, the
cycle and protocol can be set by `-dc-cycle` and `-dc-prot` parameters.

## Visualizing functions

There are several ways to visualize a function on a given mesh. For example we
Expand Down Expand Up @@ -326,7 +345,7 @@ gives after some manipulations the following plot:

![](img/quad-vec-sc1.png)

Finally, GLVis supports the visualization of functions with values provided only
Moreover, GLVis supports the visualization of functions with values provided only
in the vertices of the mesh. *This is only supported for non-curved meshes!* The
scalar and vector case are handled by the `-s` and `-v` options respectively.
Here is an example with the
Expand Down Expand Up @@ -364,6 +383,10 @@ Note that the data in this type of solution files starts from the second line
is similar, with all the x-components of the field listed first, followed by
all the y-components, etc.

Finally, the function can be loaded from a data collection. Start with loading
the collection as for [visualization of meshes](#visualizing-meshes) and
specify name of the field through the `-g` parameter.

## Visualizing quadrature data

GLVis can also visualize quadrature data (`QuadratureFunction` in MFEM). As an
Expand Down Expand Up @@ -471,6 +494,10 @@ which can be switched by pressing the <kbd>Q</kbd> key:
| --- | -------------- | ----------- |
| ![](img/star-q2-qf-lor.png) | ![](img/star-q2-qf-interp.png) | ![](img/star-q2-qf-proj.png) |

Finally, loading of quadratures from data collections is supported. Start with
loading the collection as for [visualization of meshes](#visualizing-meshes)
and specify name of the Q-field through the `-q` parameter.

## GLVis scripts

GLVis can also run a batch sequence of commands, called GLVis scripts, which
Expand Down