Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 916 Bytes

ReadMe.md

File metadata and controls

31 lines (22 loc) · 916 Bytes

ViennaLS Example

This repo contains a minimal example to show how to install ViennaLS on a bare system and then include it as dependency in an external project.

Working in C++

You need a working installation of ViennaLS to run this example. Then run the following steps to build the C++ project.

git clone https://github.com/ViennaTools/ViennaLS-Example.git
cd ViennaLS-Example
mkdir build && cd build
cmake .. 
cmake --build .

After the example has been built, you can run the program by:

./Frosty

This will create a level set snowman and advect it to simulate it melting.

Working in Python

If you have a Python version of ViennaLS installed on your system, you can simply call the Python script by:

python3 Frosty.py

to run the example.