Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/UniStuttgart-VISUS/porous-flow-graph
05 September 2023, 09:30:10 UTC
  • Code
  • Branches (1)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/main
    No releases to show
  • e018c11
  • /
  • readme.md
Raw File Download
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge Iframe embedding
swh:1:cnt:605c2ed833d813c2fec4c1cdd439a399d41c6b0f
origin badgedirectory badge Iframe embedding
swh:1:dir:e018c11c047f6f1cbb871061559b7158d695fccf
origin badgerevision badge
swh:1:rev:94e9688e1f3a731f99732f49a39b2924616ab63b
origin badgesnapshot badge
swh:1:snp:c8fb9776dc70ac9ffaf4e1827cd90d8c8a3188b8
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 94e9688e1f3a731f99732f49a39b2924616ab63b authored by Alexander Straub on 01 September 2023, 14:13:27 UTC
Set GIT_SHALLOW FALSE for LuaJIT, as the required commit is not on the master branch
Tip revision: 94e9688
readme.md
# Visual Analysis of Displacement Processes in Porous Media using Spatio-Temporal Flow Graphs.

*Alexander Straub, Nikolaos Karadimitriou, Guido Reina, Steffen Frey, Holger Steeb, and Thomas Ertl.*

In the following, we will provide information about the implementation for our paper.

If you are interested in replicating some of the figures in our paper, you can use the [replication script](#replication). Otherwise, follow the instructions for [MegaMol](#megamol) and [LuaVis](luavis).



## MegaMol

For this work, we created two new plugins in [MegaMol](https://github.com/UniStuttgart-VISUS/megamol): imageseries and imageseries_gl.
They provide all functionality to read image series from experiments, preprocess them, create the time map, and extract and simplify a flow graph.

### Get the code

You can get MegaMol from its repository at [https://github.com/UniStuttgart-VISUS/megamol/tree/2023.07.26](https://github.com/UniStuttgart-VISUS/megamol/tree/2023.07.26).

### Build steps

Configure MegaMol with CMake by running:  
```
cmake /path/to/source -DMEGAMOL_USE_OPENGL=ON -DMEGAMOL_PLUGIN_IMAGESERIES=ON -DMEGAMOL_PLUGIN_IMAGESERIES_GL=ON
```
This enables the required plugins *imageseries* and *imageseries_gl*.

Now build and install MegaMol.

### Run example project

You can find an example project in the MegaMol examples called "porous".
To run it, simply start MegaMol and load the project.



## LuaVis

[LuaVis](https://github.com/UniStuttgart-VISUS/LuaVis) is a standalone application that has been modified for the interactive visualization of flow graphs.
Its core is written in C++, the implementation for graph visualization in Lua.

### Get the code

You can get LuaVis from its repository at [https://github.com/UniStuttgart-VISUS/LuaVis](https://github.com/UniStuttgart-VISUS/LuaVis).

### Build steps

LuaVis depends on the following libraries, which have to be built and installed.
Best use the linked repositories for compatibility.

- [LuaJIT](https://github.com/LuaJIT/LuaJIT/tree/v2.1)
- [cppfs](https://github.com/straubar/cppfs)
- [SFML](https://github.com/Marukyu/SFML)
- [zlib](https://github.com/madler/zlib)

After building the dependencies, configure LuaVis by running CMake with:
```
cmake /path/to/source -Dcppfs_DIR=/path/to/cppfs -DLUAJIT_DIR=/path/to/LuaJIT -DSFML_DIR=/path/to/lib/cmake/SFML -DZLIB_ROOT=/path/to/zlib
```

Now build and install LuaVis.

### Run

Execute the run script.
By default, an example dataset is loaded and visualized.



## Replication

To replicate images in the paper, we provide a script to re-create Figures 4a and 12.

### Prerequisites

- Windows 10 or later
- Graphics driver with OpenGL
- CMake
- Git
- Visual Studio with C++ 17 or later

### Run

Run the script `replication\build.bat`.

### Results

The script downloads, configures, builds, installs, and runs MegaMol and LuaVis.

- It produces Figure 4a as `replication\_fig.4a.png`
- It starts LuaVis at the state of Figure 12 (no screenshot capability for automatic saving)

**Caution:** MegaMol is started and closes again automatically after saving the screenshot. Please do not close it manually.

back to top

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API