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
20 changes: 15 additions & 5 deletions src/download.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
## Latest Release

[New features](https://github.com/glvis/glvis/blob/v4.1/CHANGELOG)
┊ [User documentation](https://github.com/glvis/glvis/blob/v4.1/README)
[New features](https://github.com/glvis/glvis/blob/v4.2/CHANGELOG)
┊ [User documentation](https://github.com/glvis/glvis/blob/v4.2/README.md)
┊ [Code documentation](http://glvis.github.io/doxygen/html/index.html)
┊ [Sources](https://github.com/glvis/glvis)

[<button type="button" class="btn btn-success">
**Download glvis-4.1.tgz**
</button>](https://bit.ly/glvis-4-1)
**<i class="fa fa-download"></i>&nbsp; glvis-4.2.tgz**
</button>](https://bit.ly/glvis-4-2)
&nbsp;&nbsp;&nbsp;
[<button type="button" class="btn btn-success">
**<i class="fa fa-apple"></i>&nbsp; Mac**
</button>](https://bit.ly/glvis-mac)
&nbsp;&nbsp;&nbsp;
[<button type="button" class="btn btn-success">
**<i class="fa fa-windows"></i>&nbsp; Windows**
</button>](https://bit.ly/glvis-win)
&nbsp;&nbsp;&nbsp;
[<button type="button" class="btn btn-primary">
**Use web version**
**Web version**
</button>](https://glvis.org/live)


Please use the GitHub [issue tracker](https://github.com/glvis/glvis/issues)
to report [bugs](https://github.com/glvis/glvis/issues/new?labels=bug)
or post [questions](https://github.com/glvis/glvis/issues/new?labels=question)
Expand All @@ -22,6 +31,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.2.tgz](https://bit.ly/glvis-4-2) | v4.2 | May 2022 | 2.4M | 37K | _glTF export_ |
[glvis-4.1.tgz](https://bit.ly/glvis-4-1) | v4.1 | Aug 2021 | 2.4M | 34K | |
[glvis-4.0.tgz](https://bit.ly/glvis-4-0) | v4.0 | Dec 2020 | 1.3M | 33K | _modern OpenGL, BSD license_ |
[glvis-3.4.tgz](https://bit.ly/glvis-3-4) | v3.4 | May 2018 | 199K | 27K | |
Expand Down
2 changes: 1 addition & 1 deletion src/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ GLVis uses OpenGL with interactive refinement to accurately represent curved hig
## Lightweight and Convenient

<img class="floatpad" src="../img/gallery/ball-nurbs-np16.png" width="240">
GLVis has a fast [keystroke-based](https://raw.githubusercontent.com/glvis/glvis/master/README) interface and uses modern OpenGL that takes advantage of
GLVis has a fast [keystroke-based](https://github.com/glvis/glvis/blob/master/README.md#key-commands) interface and uses modern OpenGL that takes advantage of
hardware acceleration in modern GPUs.
It has a number of convenient features, including:

Expand Down
16 changes: 14 additions & 2 deletions src/gallery.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ This page collects screenshots from various simulations that have used GLVis vis

*One of the eight order (Q8) basis functions on the reference square. The sub-refinement in GLVis (key 'i') allows for the correct visualization of such high-order functions.*

----

![](img/gallery/sculpture-ar.jpg)

*GLVis model opened in augmented reality with the [glTF model viewer](https://modelviewer.dev/editor).*

</div><div class="col-md-5" markdown="1">

[![](img/gallery/triple-point_BLAST_q8q7.png)](img/gallery/triple-pt-np128.gif)
Expand All @@ -37,9 +43,9 @@ This page collects screenshots from various simulations that have used GLVis vis

----

![](img/gallery/fem2d-2.png)
[![](img/gallery/sculptures.jpg)](img/gallery/sculptures-full.jpg)

*Level lines in 2D. Simulation with [MFEM](http://mfem.org).*
*Raytraced glTF model in Blender which was exported from GLVis with the 'G' key. The mesh faces have been cut with 'Ctrl+F3'*

----

Expand All @@ -53,6 +59,12 @@ This page collects screenshots from various simulations that have used GLVis vis

*Parallel partitioning of a non-conforming adaptively refined mesh between 2048 processors based on splitting a space-filling (Hilbert) curve.*

----

![](img/gallery/fem2d-2.png)

*Level lines in 2D. Simulation with [MFEM](http://mfem.org).*

</div><div class="col-md-3" markdown="1">

![](img/gallery/CSE13logo.jpeg)
Expand Down
22 changes: 15 additions & 7 deletions src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div class="carousel-caption d-none" style="margin-top:-20px;">
Accurate representation of many [finite elements](https://mfem.org/features/#higher-order-finite-element-spaces), support for [arbitrary high-order](mesh-formats.md#curvilinear-and-more-general-meshes) and [NURBS](nurbs.md) meshes
</div>
</div>
</div>
<div class="item">
<img class="d-block w-100" src="img/slide3.png" usemap="#versionsmap">
<map name="versionsmap">
Expand All @@ -30,6 +30,12 @@
Desktop, [Web](https://glvis.org/live) and [Jupyter](https://mybinder.org/v2/gh/GLVis/pyglvis/HEAD?filepath=examples) versions from the same code base
</div>
</div>
<div class="item">
[<img class="d-block w-100" src="img/slide4.jpg">](gallery.md)
<div class="carousel-caption d-none" style="margin-top:-20px;">
[glTF](https://www.khronos.org/gltf) export to [Blender](https://www.blender.org) and [augmented reality](https://modelviewer.dev/editor) tools
</div>
</div>
</div>

<!-- Left and right controls -->
Expand Down Expand Up @@ -63,26 +69,28 @@ GLVis is based on the [MFEM](https://mfem.org) library and is used in the [BLAST

Date | Message
------------ | -----------------------------------------------------------------
Aug 31, 2021 | Version 4.1 [released](https://github.com/glvis/glvis/blob/v4.1/CHANGELOG).
Jul 10, 2021 | [MFEM Community Workshop](https://mfem.org/workshop) in October.
May 23, 2022 | Version 4.2 [released](https://github.com/glvis/glvis/blob/v4.2/CHANGELOG).
Jan 20, 2022 | New [FEM@LLNL seminar](seminar.md) 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.1/CHANGELOG)
┊ [User documentation](https://github.com/glvis/glvis/blob/v4.1/README)
[New features](https://github.com/glvis/glvis/blob/v4.2/CHANGELOG)
┊ [User documentation](https://github.com/glvis/glvis/blob/v4.2/README.md)
┊ [Code documentation](http://glvis.github.io/doxygen/html/index.html)
┊ [Sources](https://github.com/glvis/glvis)

[<button type="button" class="btn btn-success">
**Download glvis-4.1.tgz**
</button>](https://bit.ly/glvis-4-1)
**Download glvis-4.2.tgz**
</button>](https://bit.ly/glvis-4-2)
&nbsp;&nbsp;&nbsp;
[<button type="button" class="btn btn-primary">
**Use web version**
</button>](https://glvis.org/live)

[<i class="fa fa-apple"></i>](https://bit.ly/glvis-mac) [Mac](https://bit.ly/glvis-mac) ┊
[<i class="fa fa-windows"></i>](https://bit.ly/glvis-win) [Windows](https://bit.ly/glvis-win) ┊
[Older releases](download.md) ┊ [glvis.js](https://github.com/glvis/glvis-js) ┊ [pyglvis](https://github.com/glvis/pyglvis)

## Documentation
Expand Down
2,853 changes: 1,289 additions & 1,564 deletions src/live/src/glvis.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/live/src/versions.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const versions = {
emscripten: "2.0.29",
mfem: "v4.3-470-g81493c10b",
glvis: "v4.1",
emscripten: "3.1.11",
mfem: "v4.4-775-g80033b00f",
glvis: "v4.2",
};
2 changes: 2 additions & 0 deletions src/news.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

&nbsp; | |
------------ | -----------------------------------------------------------------
May 23, 2022 | Version 4.2 [released](https://github.com/glvis/glvis/blob/v4.2/CHANGELOG).
Jan 20, 2022 | [FEM@LLNL seminar series](seminar.md) starting.
Aug 31, 2021 | Version 4.1 [released](https://github.com/glvis/glvis/blob/v4.1/CHANGELOG).
Jul 10, 2021 | The inaugural [MFEM Community Workshop](workshop.md) will take place on October 20th, 2021.
Feb 19, 2021 | Web version at [glvis.org/live](https://glvis.org/live).
Expand Down
16 changes: 11 additions & 5 deletions src/options-and-use.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
`glvis -np 4 -m mesh -g sol` (assuming data saved in files: `mesh.000000`,
... , `mesh.000003` and `sol.000000`, ... , `sol.000003`)
- Use `glvis -h` to get help on all command line options.
- See [README](https://raw.githubusercontent.com/glvis/glvis/master/README)
for a detail of the keystroke commands accepted in the GLVis interactive
- See [README.md](https://github.com/glvis/glvis/blob/master/README.md#key-commands)
for a detailed description of the keystroke commands accepted in the GLVis interactive
window.

Some of the command-line options of GLVis and its general use are described in
Expand Down Expand Up @@ -77,7 +77,7 @@ All Options:
Specify the port number on which to accept connections.
-sec, --secure-sockets, -no-sec, --standard-sockets, current option: --standard-sockets
Enable or disable GnuTLS secure sockets.
-mac, --save-stream, -no-mac, --dont-save-stream, current option: --dont-save-stream
-save, --save-stream, -no-save, --dont-save-stream, current option: --dont-save-stream
In server mode, save incoming data to a file before visualization.
-saved <string>, --saved-stream <string>, current value: (none)
Load a GLVis stream saved to a file.
Expand Down Expand Up @@ -118,15 +118,21 @@ By default, the server is established on
[port 19916](https://github.com/glvis/glvis/blob/master/glvis.cpp#L1137), but
this can be changed with the `-p` option.

<!--
On legacy Mac machines with OS X Leopard, the server needs to be started with
```sh
glvis -mac
glvis -save
```
This is due to the fact that Mac OS X returns an error when [fork() is called
without an immediate exec()](http://developer.apple.com/library/mac/#technotes/tn2083/_index.html#//apple_ref/doc/uid/DTS10003794-CH1-SUBSUBSECTION66).
*Note that this option is not necessary on newer versions of OS X.*
-->

A side effect of the `-mac` option is that all socket streams will be saved in
To save the incoming data, the server needs to be started with
```sh
glvis -save
```
With the `-save` option, all socket streams will be saved in
incrementally named files `glvis-saved.0001`, `glvis-saved.0002`, and so on.
These socket files consist of a
[data type identifier](https://github.com/glvis/glvis/blob/master/glvis.cpp#L111)
Expand Down