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

Raw File Download

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
content badge Iframe embedding
swh:1:cnt:b9892b4bc05659e45472b9d93b83a9f7154df6e5

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
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
# CMake Options

This page should give you a short overview over the CMake options of SPlisHSPlasH.

## USE_DOUBLE_PRECISION

If this flag is enabled, then all computations with floating point values are performed using double precision (double). Otherwise single precision (float) is used.

## USE_AVX

SPlishSPlasH supports the usage of AVX (Advanced Vector Extensions) which is an extension of modern CPUs to perform a single instruction on multiple data. The extension allows to perform eight floating point operations in parallel. Enabling AVX significantly improves the performance of the simulator. Currently, the following methods have AVS support: 

* DFSPH 
* the micropolar vorticity model
* the standard viscosity model
* the viscosity model of Weiler et al.

## USE_OpenMP

Enable the OpenMP parallelization which lets the simulation run in parallel on all available cores of the CPU. 

## USE_GPU_NEIGHBORHOOD_SEARCH

As default SPlisHSPlasH uses [CompactNSearch ](https://github.com/InteractiveComputerGraphics/CompactNSearch) as neighborhood search which performs all operations on the CPU. However, with this flag you can switch to [cuNSearch ](https://github.com/InteractiveComputerGraphics/cuNSearch) which is our GPU neighborhood search. In case you want to use the GPU method, you have to install Cuda.

## USE_IMGUI

We just reimplemented the GUI using [imgui](https://github.com/ocornut/imgui) instead of [AntTweakBar](http://anttweakbar.sourceforge.net). If you want to try out the new GUI, enable this flag. 

## USE_PYTHON_BINDINGS

Generate a shared library object which can be imported into python scripts and exposes C++ functionality to the python interpreter.
*Default:On*
*Options:<On|Off>*

## USE_DEBUG_TOOLS

Adds a debug tools tab to the graphical user interface which allows to  generate additional particle data for debugging. Note that generating the additional data will slightly decrease the performance of the simulation.

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— Content policy— Contact— JavaScript license information— Web API