Skip to content

ikarus-project/ikarus-examples

Repository files navigation

Debian CodeStyle codespell

Ikarus

Examples

This repository tries to provide various problems solved with Ikarus, thereby serving as a sandbox of examples used to understand the working of the tool itself. The examples are motivated within the finite element framework. In order to only work with the examples of Ikarus, the ikarus-examples repository is to be downloaded. The simplest way to use ikarus is pulling the docker image by using the following command:

docker pull ikarusproject/ikarus:latest

More details on the installation can be found in the documentation.

The examples can be executed using a software like Clion or directly from a command line as shown below.

docker container run -it --entrypoint /bin/bash  ikarusproject/ikarus:latest 
git clone https://github.com/ikarus-project/ikarus-examples.git &&
cd ikarus-examples &&
mkdir build &&
cd build &&
cmake ../ -DCMAKE_BUILD_TYPE=Release &&
cmake --build . --parallel 2 --target <filenameWithoutExtension>
cd src
./<filenameWithoutExtension>

The corresponding documentation for existing examples resides at the link.