ViennaLS
|
ViennaLS is a header-only C++ level set library developed for high performance topography simulations. The main design goals are simplicity and efficiency, tailored towards scientific simulations. ViennaLS can also be used for visualisation applications, although this is not the main design target.
Documentation and Examples can be found online.
Bug reports and suggestions should be filed on GitHub.
Releases are tagged on the maser branch and available in the releases section.
Dependencies will be installed automatically when not available.
Have a look at the example repo for creating a project with ViennaLS as a dependency.
Since this is a header only project, it does not require any installation. However, we recommend the following procedure in order to set up all dependencies correctly:
This will install the necessary headers and CMake files to the specified path. If DCMAKE_INSTALL_PREFIX is not specified, it will be installed to the standard path for your system, usually /usr/local/ .
In order to install ViennaLS without VTK, run:
The CMake configuration automatically checks if the dependencies are installed. If CMake is unable to find them, the dependencies will be built from source.
apt
), the dependencies can be installed beforehand (e.g. using sudo apt install libvtk9.1 libvtk9-dev pybind11-dev
), which saves a considerable amount of time during compilation.The Python package can be built and installed using the pip
command:
All functions which are available in C++ are also available in Python. The 2D version of the library can be imported as follows:
In order to switch to three dimensions, only the import needs to be changed:
ViennaLS uses CTest to run its tests. In order to check whether ViennaLS runs without issues on your system, you can run:
The examples can be built using CMake:
We recommend using CPM.cmake to consume this library.
In case you have ViennaLS installed in a custom directory, make sure to properly specify the
CMAKE_MODULE_PATH
orPATHS
in yourfind_package
call.
In order to save build time during development, dynamically linked shared libraries can be used if ViennaLS was built with them. This is done by precompiling the most common template specialisations. In order to use shared libraries, use
If ViennaLS was built with shared libraries and you use ViennaLS in your project (see above), CMake will automatically link them to your project.
Before being able to merge your PR, make sure you have met all points on the checklist in CONTRIBUTING.md.
If you want to contribute to ViennaLS, make sure to follow the LLVM Coding guidelines.
Make sure to format all files before creating a pull request:
Current contributors: Tobias Reiter, Noah Karnel
Founder and initial developer: Otmar Ertl
Contact us via: vienn.nosp@m.atoo.nosp@m.ls@iu.nosp@m.e.tu.nosp@m.wien..nosp@m.ac.a.nosp@m.t
ViennaLS was developed under the aegis of the 'Institute for Microelectronics' at the 'TU Wien'.
http://www.iue.tuwien.ac.at/
See file LICENSE in the base directory.