Skip to content

Example of how to use ViennaLS as a dependency in a project.

Notifications You must be signed in to change notification settings

ViennaTools/ViennaLS-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Example of how to use ViennaLS as a dependency in a project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published