|
ViennaLS
|
ViennaLS is a header-only C++ level set library for high-performance topography and semiconductor process simulations. The main design goals are efficiency and simplicity, tailored towards scientific process simulation.
To install ViennaLS for Python, simply run:
To use ViennaLS in C++, clone the repository and follow the installation steps below.
Documentation and Examples can be found online.
Bug reports and suggestions should be filed on GitHub.
Releases are tagged on the master 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 CMAKE_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.
The Python package can be built and installed using the pip command:
To build the Python package with GPU support for the oxidation diffusion and mechanics solvers, use the install script in the python/scripts folder:
A CUDA 12+ toolkit and a driver compatible with your GPU must be installed on your system. On Linux, a GCC version compatible with the CUDA toolkit is also required. Pass --no-gpu to build without GPU support using the same script and venv workflow.
The ViennaLS Python package can be used by importing it in your Python scripts:
By default, ViennaLS operates in two dimensions. You can set the dimension using:
A complete list of functions and their locations can be found in the API documentation.
For examples on how to use the Python package, please have a look at these examples: Air Gap Deposition, Deposition, Geometric Advection.
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.
With a local installation
In case you have ViennaLS installed in a custom directory, make sure to properly specify the CMAKE_MODULE_PATH or PATHS in your find_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, Roman Kostal, Lado Filipovic
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/
Versions < 5.6.0 were released under MIT License. Starting with version 5.6.0, the project is licensed under GPL-3.0 License. For more details, please refer to the LICENSE file in the base directory of the repository.
Some third-party libraries used by ViennaLS are under their own permissive licenses.
See THIRD_PARTY_LICENSES.md for details.